public enum GriddedDataDataRepresentation extends java.lang.Enum<GriddedDataDataRepresentation>
Enum Constant and Description |
---|
TYPE_0
Type 0
|
TYPE_1
Type 1
|
TYPE_2
Type 2
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static GriddedDataDataRepresentation |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static GriddedDataDataRepresentation |
unmarshalEnum(java.nio.ByteBuffer buff) |
static GriddedDataDataRepresentation |
unmarshalEnum(java.io.DataInputStream dis) |
static GriddedDataDataRepresentation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GriddedDataDataRepresentation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GriddedDataDataRepresentation TYPE_0
public static final GriddedDataDataRepresentation TYPE_1
public static final GriddedDataDataRepresentation TYPE_2
public static GriddedDataDataRepresentation[] values()
for (GriddedDataDataRepresentation c : GriddedDataDataRepresentation.values()) System.out.println(c);
public static GriddedDataDataRepresentation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public java.lang.String getDescription()
public static int getEnumBitWidth()
public static GriddedDataDataRepresentation getEnumForValue(int i)
public void marshal(java.io.DataOutputStream dos) throws java.io.IOException
java.io.IOException
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public static GriddedDataDataRepresentation unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static GriddedDataDataRepresentation unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()