Package ucar.nc2.grib.collection
Enum GribCdmIndex.GribCollectionType
- java.lang.Object
-
- java.lang.Enum<GribCdmIndex.GribCollectionType>
-
- ucar.nc2.grib.collection.GribCdmIndex.GribCollectionType
-
- All Implemented Interfaces:
Serializable
,Comparable<GribCdmIndex.GribCollectionType>
- Enclosing class:
- GribCdmIndex
public static enum GribCdmIndex.GribCollectionType extends Enum<GribCdmIndex.GribCollectionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GRIB1
GRIB2
none
Partition1
Partition2
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GribCdmIndex.GribCollectionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GribCdmIndex.GribCollectionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GRIB1
public static final GribCdmIndex.GribCollectionType GRIB1
-
GRIB2
public static final GribCdmIndex.GribCollectionType GRIB2
-
Partition1
public static final GribCdmIndex.GribCollectionType Partition1
-
Partition2
public static final GribCdmIndex.GribCollectionType Partition2
-
none
public static final GribCdmIndex.GribCollectionType none
-
-
Method Detail
-
values
public static GribCdmIndex.GribCollectionType[] 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 (GribCdmIndex.GribCollectionType c : GribCdmIndex.GribCollectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GribCdmIndex.GribCollectionType 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
-
-