com.esri.core.internal.value
Enum ClassBreaksDefinition.ClassificationMethod

java.lang.Object
  extended by java.lang.Enum<ClassBreaksDefinition.ClassificationMethod>
      extended by com.esri.core.internal.value.ClassBreaksDefinition.ClassificationMethod
All Implemented Interfaces:
Serializable, Comparable<ClassBreaksDefinition.ClassificationMethod>
Enclosing class:
ClassBreaksDefinition

public static enum ClassBreaksDefinition.ClassificationMethod
extends Enum<ClassBreaksDefinition.ClassificationMethod>

The ClassificationMethod to be used by the server when determining class breaks. One of:

  • NaturalBreaks
  • EqualInterval
  • Quantile
  • StdDeviation
  • GeoInterval


    Enum Constant Summary
    EqualInterval
               
    GeoInterval
               
    NaturalBreaks
               
    Quantile
               
    StdDeviation
               
     
    Method Summary
    static ClassBreaksDefinition.ClassificationMethod fromString(String v)
              Gets a classification method from a string.
     String getValue()
              Gets the value as a string.
     String toString()
               
    static ClassBreaksDefinition.ClassificationMethod valueOf(String name)
              Returns the enum constant of this type with the specified name.
    static ClassBreaksDefinition.ClassificationMethod[] values()
              Returns an array containing the constants of this enum type, in the order they are declared.
     
    Methods inherited from class java.lang.Enum
    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
     
    Methods inherited from class java.lang.Object
    getClass, notify, notifyAll, wait, wait, wait
     

    Enum Constant Detail

    NaturalBreaks

    public static final ClassBreaksDefinition.ClassificationMethod NaturalBreaks

    EqualInterval

    public static final ClassBreaksDefinition.ClassificationMethod EqualInterval

    Quantile

    public static final ClassBreaksDefinition.ClassificationMethod Quantile

    StdDeviation

    public static final ClassBreaksDefinition.ClassificationMethod StdDeviation

    GeoInterval

    public static final ClassBreaksDefinition.ClassificationMethod GeoInterval
    Method Detail

    values

    public static ClassBreaksDefinition.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 (ClassBreaksDefinition.ClassificationMethod c : ClassBreaksDefinition.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 ClassBreaksDefinition.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 name
    NullPointerException - if the argument is null

    getValue

    public String getValue()
    Gets the value as a string.

    Returns:
    the value

    toString

    public String toString()
    Overrides:
    toString in class Enum<ClassBreaksDefinition.ClassificationMethod>

    fromString

    public static ClassBreaksDefinition.ClassificationMethod fromString(String v)
    Gets a classification method from a string.

    Parameters:
    v - the string
    Returns:
    the classification method


    Copyright © 2012. All Rights Reserved.