Package org.geotools.process.classify
Enum ClassificationMethod
- Object
-
- Enum<ClassificationMethod>
-
- ClassificationMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<ClassificationMethod>
public enum ClassificationMethod extends Enum<ClassificationMethod>
Enumeration for method of classifying numeric values into ranges (classes).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUAL_INTERVAL
Classifies data into equally sized ranges.NATURAL_BREAKS
Classifies data into ranges such that ranges correspond to "clusters" of values.QUANTILE
Classifies data into ranges such that the number of values falling into each range is approximately the same.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClassificationMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClassificationMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL_INTERVAL
public static final ClassificationMethod EQUAL_INTERVAL
Classifies data into equally sized ranges.
-
QUANTILE
public static final ClassificationMethod QUANTILE
Classifies data into ranges such that the number of values falling into each range is approximately the same.
-
NATURAL_BREAKS
public static final ClassificationMethod NATURAL_BREAKS
Classifies data into ranges such that ranges correspond to "clusters" of values.
-
-
Method Detail
-
values
public static ClassificationMethod[] 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 (ClassificationMethod c : ClassificationMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClassificationMethod 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 nameNullPointerException
- if the argument is null
-
-