Package ucar.nc2.grib.collection
Enum GribCollectionImmutable.Type
- java.lang.Object
-
- java.lang.Enum<GribCollectionImmutable.Type>
-
- ucar.nc2.grib.collection.GribCollectionImmutable.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<GribCollectionImmutable.Type>
- Enclosing class:
- GribCollectionImmutable
public static enum GribCollectionImmutable.Type extends Enum<GribCollectionImmutable.Type>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSingleRuntime()
boolean
isTwoD()
boolean
isUniqueTime()
static GribCollectionImmutable.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static GribCollectionImmutable.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SRC
public static final GribCollectionImmutable.Type SRC
-
MRC
public static final GribCollectionImmutable.Type MRC
-
MRUTC
public static final GribCollectionImmutable.Type MRUTC
-
TwoD
public static final GribCollectionImmutable.Type TwoD
-
Best
public static final GribCollectionImmutable.Type Best
-
BestComplete
public static final GribCollectionImmutable.Type BestComplete
-
MRUTP
public static final GribCollectionImmutable.Type MRUTP
-
-
Method Detail
-
values
public static GribCollectionImmutable.Type[] 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 (GribCollectionImmutable.Type c : GribCollectionImmutable.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GribCollectionImmutable.Type 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
-
isSingleRuntime
public boolean isSingleRuntime()
-
isUniqueTime
public boolean isUniqueTime()
-
isTwoD
public boolean isTwoD()
-
-