Enum Class ClassificationMethod

Object
Enum<ClassificationMethod>
ClassificationMethod
All Implemented Interfaces:
Serializable, Comparable<ClassificationMethod>, Constable

public enum ClassificationMethod extends Enum<ClassificationMethod>
Enumeration for method of classifying numeric values into ranges (classes).
  • Enum Constant Details

    • 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 Details

    • values

      public static ClassificationMethod[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ClassificationMethod valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null