ucar.nc2.constants
Enum CF.FeatureType
java.lang.Object
java.lang.Enum<CF.FeatureType>
ucar.nc2.constants.CF.FeatureType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<CF.FeatureType>
- Enclosing class:
- CF
public static enum CF.FeatureType
- extends java.lang.Enum<CF.FeatureType>
Start of map from CF feature type names to our FeatureType enums.
Unofficial.
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
point
public static final CF.FeatureType point
stationTimeSeries
public static final CF.FeatureType stationTimeSeries
profile
public static final CF.FeatureType profile
trajectory
public static final CF.FeatureType trajectory
stationProfile
public static final CF.FeatureType stationProfile
section
public static final CF.FeatureType section
values
public static CF.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 (CF.FeatureType c : CF.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 CF.FeatureType 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
convert
public static CF.FeatureType convert(FeatureType ft)