public enum MinefieldAppearanceMinefieldType extends java.lang.Enum<MinefieldAppearanceMinefieldType>
Enum Constant and Description |
---|
MIXED_ANTI_PERSONNEL_AND_ANTI_TANK_MINEFIELD
Mixed Anti-Personnel and Anti-Tank Minefield
|
PURE_ANTI_PERSONNEL_MINEFIELD
Pure Anti-Personnel Minefield
|
PURE_ANTI_TANK_MINEFIELD
Pure Anti-Tank Minefield
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static MinefieldAppearanceMinefieldType |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static MinefieldAppearanceMinefieldType |
unmarshalEnum(java.nio.ByteBuffer buff) |
static MinefieldAppearanceMinefieldType |
unmarshalEnum(java.io.DataInputStream dis) |
static MinefieldAppearanceMinefieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MinefieldAppearanceMinefieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MinefieldAppearanceMinefieldType MIXED_ANTI_PERSONNEL_AND_ANTI_TANK_MINEFIELD
public static final MinefieldAppearanceMinefieldType PURE_ANTI_PERSONNEL_MINEFIELD
public static final MinefieldAppearanceMinefieldType PURE_ANTI_TANK_MINEFIELD
public static MinefieldAppearanceMinefieldType[] values()
for (MinefieldAppearanceMinefieldType c : MinefieldAppearanceMinefieldType.values()) System.out.println(c);
public static MinefieldAppearanceMinefieldType 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 MinefieldAppearanceMinefieldType 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 MinefieldAppearanceMinefieldType unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static MinefieldAppearanceMinefieldType unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()