it.geosolutions.jaiext.stats
Enum Statistics.StatsType
java.lang.Object
java.lang.Enum<Statistics.StatsType>
it.geosolutions.jaiext.stats.Statistics.StatsType
- All Implemented Interfaces:
- Serializable, Comparable<Statistics.StatsType>
- Enclosing class:
- Statistics
public static enum Statistics.StatsType
- extends Enum<Statistics.StatsType>
This enum is used for organizing the various kinds of statistics and giving them an identifier used by the StatsFactory
create methods.
MEAN
public static final Statistics.StatsType MEAN
SUM
public static final Statistics.StatsType SUM
MAX
public static final Statistics.StatsType MAX
MIN
public static final Statistics.StatsType MIN
EXTREMA
public static final Statistics.StatsType EXTREMA
VARIANCE
public static final Statistics.StatsType VARIANCE
DEV_STD
public static final Statistics.StatsType DEV_STD
HISTOGRAM
public static final Statistics.StatsType HISTOGRAM
MODE
public static final Statistics.StatsType MODE
MEDIAN
public static final Statistics.StatsType MEDIAN
values
public static Statistics.StatsType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Statistics.StatsType c : Statistics.StatsType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Statistics.StatsType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getStatsId
public int getStatsId()
Copyright © 2006–2015 GeoSolutions. All rights reserved.