Enum FeatureType

java.lang.Object
java.lang.Enum<FeatureType>
ucar.nc2.constants.FeatureType
All Implemented Interfaces:
Serializable, Comparable<FeatureType>

public enum FeatureType extends Enum<FeatureType>
Enumeration of CDM Feature types, aka "Scientific Data Types".
See Also:
  • Enum Constant Details

  • Method Details

    • values

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

      public static FeatureType 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
    • getType

      public static FeatureType getType(String name)
      Find the FeatureType that matches this name.
      Parameters:
      name - find FeatureType with this name, case insensitive.
      Returns:
      FeatureType or null if no match.
    • isPointFeatureType

      public boolean isPointFeatureType()
    • isCoverageFeatureType

      public boolean isCoverageFeatureType()
    • isUnstructuredGridFeatureType

      public boolean isUnstructuredGridFeatureType()
    • isSimpleGeometry

      public boolean isSimpleGeometry()