Package ucar.nc2.constants
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:
- CDM Feature Types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
ANY_POINT
COVERAGE
CURVILINEAR
FMRC
GRID
IMAGE
POINT
PROFILE
RADIAL
SIMPLE_GEOMETRY
STATION
STATION_PROFILE
STATION_RADIAL
SWATH
TRAJECTORY
TRAJECTORY_PROFILE
UGRID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FeatureType
getType(String name)
Find the FeatureType that matches this name.boolean
isCoverageFeatureType()
boolean
isPointFeatureType()
boolean
isSimpleGeometry()
boolean
isUnstructuredGridFeatureType()
static FeatureType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FeatureType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final FeatureType ANY
-
COVERAGE
public static final FeatureType COVERAGE
-
GRID
public static final FeatureType GRID
-
FMRC
public static final FeatureType FMRC
-
SWATH
public static final FeatureType SWATH
-
CURVILINEAR
public static final FeatureType CURVILINEAR
-
ANY_POINT
public static final FeatureType ANY_POINT
-
POINT
public static final FeatureType POINT
-
PROFILE
public static final FeatureType PROFILE
-
STATION
public static final FeatureType STATION
-
STATION_PROFILE
public static final FeatureType STATION_PROFILE
-
TRAJECTORY
public static final FeatureType TRAJECTORY
-
TRAJECTORY_PROFILE
public static final FeatureType TRAJECTORY_PROFILE
-
RADIAL
public static final FeatureType RADIAL
-
STATION_RADIAL
public static final FeatureType STATION_RADIAL
-
SIMPLE_GEOMETRY
public static final FeatureType SIMPLE_GEOMETRY
-
IMAGE
public static final FeatureType IMAGE
-
UGRID
public static final FeatureType UGRID
-
-
Method Detail
-
values
public static FeatureType[] 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 (FeatureType c : FeatureType.values()) System.out.println(c);
- 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 nameNullPointerException
- 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()
-
-