public enum Location extends Enum<Location> implements Enumerator
VariablesPackage.getLocation()| Enum Constant and Description |
|---|
INPUT
The 'INPUT' literal object.
|
MEMORY
The 'MEMORY' literal object.
|
OUTPUT
The 'OUTPUT' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
INPUT_VALUE
The 'INPUT' literal value.
|
static int |
MEMORY_VALUE
The 'MEMORY' literal value.
|
static int |
OUTPUT_VALUE
The 'OUTPUT' literal value.
|
static List<Location> |
VALUES
A public read-only list of all the 'Location' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static Location |
get(int value)
Returns the 'Location' literal with the specified integer value.
|
static Location |
get(String literal)
Returns the 'Location' literal with the specified literal value.
|
static Location |
getByName(String name)
Returns the 'Location' 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 Location |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Location INPUT
INPUT_VALUEpublic static final Location OUTPUT
OUTPUT_VALUEpublic static final Location MEMORY
MEMORY_VALUEpublic static final int INPUT_VALUE
If the meaning of 'INPUT' literal object isn't clear, there really should be more of a description here...
INPUT,
Constant Field Valuespublic static final int OUTPUT_VALUE
If the meaning of 'OUTPUT' literal object isn't clear, there really should be more of a description here...
OUTPUT,
Constant Field Valuespublic static final int MEMORY_VALUE
If the meaning of 'MEMORY' literal object isn't clear, there really should be more of a description here...
MEMORY,
Constant Field Valuespublic static Location[] values()
for (Location c : Location.values()) System.out.println(c);
public static Location 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 Location get(String literal)
literal - the literal.null.public static Location getByName(String name)
name - the name.null.public static Location get(int value)
value - the integer value.null.public int getValue()
getValue in interface Enumeratorpublic String getName()
getName in interface Enumeratorpublic String getLiteral()
getLiteral in interface Enumerator