public enum Size extends Enum<Size> implements Enumerator
VariablesPackage.getSize()
Enum Constant and Description |
---|
BIT
The 'BIT' literal object.
|
BYTE
The 'BYTE' literal object.
|
DOUBLE_WORD
The 'DOUBLE WORD' literal object.
|
LONG_WORD
The 'LONG WORD' literal object.
|
WORD
The 'WORD' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
BIT_VALUE
The 'BIT' literal value.
|
static int |
BYTE_VALUE
The 'BYTE' literal value.
|
static int |
DOUBLE_WORD_VALUE
The 'DOUBLE WORD' literal value.
|
static int |
LONG_WORD_VALUE
The 'LONG WORD' literal value.
|
static List<Size> |
VALUES
A public read-only list of all the 'Size' enumerators.
|
static int |
WORD_VALUE
The 'WORD' literal value.
|
Modifier and Type | Method and Description |
---|---|
static Size |
get(int value)
Returns the 'Size' literal with the specified integer value.
|
static Size |
get(String literal)
Returns the 'Size' literal with the specified literal value.
|
static Size |
getByName(String name)
Returns the 'Size' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static Size |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Size[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Size BIT
BIT_VALUE
public static final Size BYTE
BYTE_VALUE
public static final Size WORD
WORD_VALUE
public static final Size DOUBLE_WORD
DOUBLE_WORD_VALUE
public static final Size LONG_WORD
LONG_WORD_VALUE
public static final int BIT_VALUE
If the meaning of 'BIT' literal object isn't clear, there really should be more of a description here...
BIT
,
Constant Field Valuespublic static final int BYTE_VALUE
If the meaning of 'BYTE' literal object isn't clear, there really should be more of a description here...
BYTE
,
Constant Field Valuespublic static final int WORD_VALUE
If the meaning of 'WORD' literal object isn't clear, there really should be more of a description here...
WORD
,
Constant Field Valuespublic static final int DOUBLE_WORD_VALUE
If the meaning of 'DOUBLE WORD' literal object isn't clear, there really should be more of a description here...
DOUBLE_WORD
,
Constant Field Valuespublic static final int LONG_WORD_VALUE
If the meaning of 'LONG WORD' literal object isn't clear, there really should be more of a description here...
LONG_WORD
,
Constant Field Valuespublic static Size[] values()
for (Size c : Size.values()) System.out.println(c);
public static Size valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Size get(String literal)
literal
- the literal.null
.public static Size getByName(String name)
name
- the name.null
.public static Size get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator