Enum StatisticType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<StatisticType>

    public enum StatisticType
    extends java.lang.Enum<StatisticType>
    Defines the statistic type that can be calculated for non-null values in a field of a FeatureTable.
    Since:
    100.2.0
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AVERAGE
      The average of the values in a field.
      COUNT
      The number of values in a field.
      MAXIMUM
      The maximum number of values in a field.
      MINIMUM
      The minimum number of values in a field.
      STANDARD_DEVIATION
      The standard deviation of values in a field.
      SUM
      The sum of values in a field.
      VARIANCE
      The variance of values in a field.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static StatisticType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static StatisticType[] 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, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • AVERAGE

        public static final StatisticType AVERAGE
        The average of the values in a field.
        Since:
        100.2.0
      • COUNT

        public static final StatisticType COUNT
        The number of values in a field.
        Since:
        100.2.0
      • MAXIMUM

        public static final StatisticType MAXIMUM
        The maximum number of values in a field.
        Since:
        100.2.0
      • MINIMUM

        public static final StatisticType MINIMUM
        The minimum number of values in a field.
        Since:
        100.2.0
      • STANDARD_DEVIATION

        public static final StatisticType STANDARD_DEVIATION
        The standard deviation of values in a field.
        Since:
        100.2.0
      • SUM

        public static final StatisticType SUM
        The sum of values in a field.
        Since:
        100.2.0
      • VARIANCE

        public static final StatisticType VARIANCE
        The variance of values in a field.
        Since:
        100.2.0
    • Method Detail

      • values

        public static StatisticType[] 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 (StatisticType c : StatisticType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StatisticType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null