Enum SDIndex.IndexType

  • All Implemented Interfaces:
    Serializable, Comparable<SDIndex.IndexType>
    Enclosing class:
    SDIndex

    public static enum SDIndex.IndexType
    extends Enum<SDIndex.IndexType>
    Index types include the following: 1. all: get all elements of this dimension 2. point: get only elements at the particular point in this dimension 3. interval: get only elements from a begin point to an end point in the interval 4. point input: dynamic version of point 5. interval input: dynamic version of interval
    • Method Detail

      • values

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

        public static SDIndex.IndexType 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