Package ucar.nc2.constants
Enum CF.CellMethods
- java.lang.Object
-
- java.lang.Enum<CF.CellMethods>
-
- ucar.nc2.constants.CF.CellMethods
-
- All Implemented Interfaces:
Serializable
,Comparable<CF.CellMethods>
- Enclosing class:
- CF
public static enum CF.CellMethods extends Enum<CF.CellMethods>
Enumeration of CF cell methods. see "http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#appendix-cell-methods"
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CF.CellMethods
convertGribCodeTable4_10(int code)
static CF.CellMethods
valueOf(String name)
Returns the enum constant of this type with the specified name.static CF.CellMethods[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
point
public static final CF.CellMethods point
-
sum
public static final CF.CellMethods sum
-
maximum
public static final CF.CellMethods maximum
-
median
public static final CF.CellMethods median
-
mid_range
public static final CF.CellMethods mid_range
-
minimum
public static final CF.CellMethods minimum
-
mean
public static final CF.CellMethods mean
-
mode
public static final CF.CellMethods mode
-
standard_deviation
public static final CF.CellMethods standard_deviation
-
variance
public static final CF.CellMethods variance
-
-
Method Detail
-
values
public static CF.CellMethods[] 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.CellMethods c : CF.CellMethods.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.CellMethods 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
-
convertGribCodeTable4_10
public static CF.CellMethods convertGribCodeTable4_10(int code)
-
-