|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Bytes8_9_10_12>
edu.nps.moves.disenum.Bytes8_9_10_12
public enum Bytes8_9_10_12
Enumeration values for Bytes8_9_10_12 The enumeration values are generated from the SISO DIS XML EBV document (R35), which was obtained from http://discussions.sisostds.org/default.asp?action=10&fd=31
Note that this has two ways to look up an enumerated instance from a value: a fast but brittle array lookup, and a slower and more garbage-intensive, but safer, method. if you want to minimize memory use, get rid of one or the other.
Copyright 2008-2009. This work is licensed under the BSD license, available at http://www.movesinstitute.org/licenses
Enum Constant Summary | |
---|---|
BLANK
|
|
E
|
|
S
|
|
UNDERSCORE_E
|
|
UNDERSCORE_S
|
|
UNDERSCORE_X
|
|
X
|
|
X_0_9
|
|
X_0_9_1
|
Field Summary | |
---|---|
java.lang.String |
description
Text/english description of the enumerated value |
static Bytes8_9_10_12[] |
lookup
This is an array, with each slot corresponding to an enumerated value. |
int |
value
The enumerated value |
Method Summary | |
---|---|
static boolean |
enumerationForValueExists(int aVal)
Returns true if there is an enumerated instance for this value, false otherwise. |
java.lang.String |
getDescription()
Returns a text descriptioni for this enumerated value. |
static java.lang.String |
getDescriptionForValue(int aVal)
Returns the string description associated with the enumerated instance with this value. |
static Bytes8_9_10_12 |
getEnumerationForValue(int aVal)
Returns the enumerated instance with this value. |
int |
getValue()
Returns the enumerated value for this enumeration |
static Bytes8_9_10_12 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Bytes8_9_10_12[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Bytes8_9_10_12 X_0_9
public static final Bytes8_9_10_12 X_0_9_1
public static final Bytes8_9_10_12 E
public static final Bytes8_9_10_12 UNDERSCORE_E
public static final Bytes8_9_10_12 S
public static final Bytes8_9_10_12 UNDERSCORE_S
public static final Bytes8_9_10_12 X
public static final Bytes8_9_10_12 UNDERSCORE_X
public static final Bytes8_9_10_12 BLANK
Field Detail |
---|
public final int value
public final java.lang.String description
public static Bytes8_9_10_12[] lookup
Use as Bytes8_9_10_12.lookup[aVal] to get the enumeration that corresponds to a value.
In non-realtime environments, the prefered method is getEnumerationForValue().
Method Detail |
---|
public static final Bytes8_9_10_12[] values()
for(Bytes8_9_10_12 c : Bytes8_9_10_12.values()) System.out.println(c);
public static Bytes8_9_10_12 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 namepublic static java.lang.String getDescriptionForValue(int aVal)
public static Bytes8_9_10_12 getEnumerationForValue(int aVal) throws edu.nps.moves.siso.EnumNotFoundException
edu.nps.moves.siso.EnumNotFoundException
public static boolean enumerationForValueExists(int aVal)
public int getValue()
public java.lang.String getDescription()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |