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