|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Operator>
de.cau.cs.kieler.krep.editors.klp.klp.Operator
public enum Operator
A representation of the literals of the enumeration 'Operator', and utility methods for working with them.
KlpPackage.getOperator()
Enum Constant Summary | |
---|---|
ADD
The 'Add' literal object. |
|
AND
The 'And' literal object. |
|
DIV
The 'Div' literal object. |
|
EQ
The 'Eq' literal object. |
|
GE
The 'Ge' literal object. |
|
GT
The 'Gt' literal object. |
|
IADD
The 'Iadd' literal object. |
|
IAND
The 'Iand' literal object. |
|
IDIV
The 'Idiv' literal object. |
|
IEQ
The 'Ieq' literal object. |
|
IGE
The 'Ige' literal object. |
|
IGT
The 'Igt' literal object. |
|
ILE
The 'Ile' literal object. |
|
ILT
The 'Ilt' literal object. |
|
IMUL
The 'Imul' literal object. |
|
INEQ
The 'Ineq' literal object. |
|
IOR
The 'Ior' literal object. |
|
ISUB
The 'Isub' literal object. |
|
IXOR
The 'Ixor' literal object. |
|
LE
The 'Le' literal object. |
|
LT
The 'Lt' literal object. |
|
MUL
The 'Mul' literal object. |
|
NEQ
The 'Neq' literal object. |
|
OR
The 'Or' literal object. |
|
SUB
The 'Sub' literal object. |
|
XOR
The 'Xor' literal object. |
Field Summary | |
---|---|
static int |
ADD_VALUE
The 'Add' literal value. |
static int |
AND_VALUE
The 'And' literal value. |
static int |
DIV_VALUE
The 'Div' literal value. |
static int |
EQ_VALUE
The 'Eq' literal value. |
static int |
GE_VALUE
The 'Ge' literal value. |
static int |
GT_VALUE
The 'Gt' literal value. |
static int |
IADD_VALUE
The 'Iadd' literal value. |
static int |
IAND_VALUE
The 'Iand' literal value. |
static int |
IDIV_VALUE
The 'Idiv' literal value. |
static int |
IEQ_VALUE
The 'Ieq' literal value. |
static int |
IGE_VALUE
The 'Ige' literal value. |
static int |
IGT_VALUE
The 'Igt' literal value. |
static int |
ILE_VALUE
The 'Ile' literal value. |
static int |
ILT_VALUE
The 'Ilt' literal value. |
static int |
IMUL_VALUE
The 'Imul' literal value. |
static int |
INEQ_VALUE
The 'Ineq' literal value. |
static int |
IOR_VALUE
The 'Ior' literal value. |
static int |
ISUB_VALUE
The 'Isub' literal value. |
static int |
IXOR_VALUE
The 'Ixor' literal value. |
static int |
LE_VALUE
The 'Le' literal value. |
static int |
LT_VALUE
The 'Lt' literal value. |
static int |
MUL_VALUE
The 'Mul' literal value. |
static int |
NEQ_VALUE
The 'Neq' literal value. |
static int |
OR_VALUE
The 'Or' literal value. |
static int |
SUB_VALUE
The 'Sub' literal value. |
static List<Operator> |
VALUES
A public read-only list of all the 'Operator' enumerators. |
static int |
XOR_VALUE
The 'Xor' literal value. |
Method Summary | |
---|---|
static Operator |
get(int value)
Returns the 'Operator' literal with the specified integer value. |
static Operator |
get(String literal)
Returns the 'Operator' literal with the specified literal value. |
static Operator |
getByName(String name)
Returns the 'Operator' 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 Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Operator[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Operator ADD
ADD_VALUE
public static final Operator IADD
IADD_VALUE
public static final Operator SUB
SUB_VALUE
public static final Operator MUL
MUL_VALUE
public static final Operator DIV
DIV_VALUE
public static final Operator AND
AND_VALUE
public static final Operator OR
OR_VALUE
public static final Operator XOR
XOR_VALUE
public static final Operator LT
LT_VALUE
public static final Operator LE
LE_VALUE
public static final Operator EQ
EQ_VALUE
public static final Operator GE
GE_VALUE
public static final Operator GT
GT_VALUE
public static final Operator NEQ
NEQ_VALUE
public static final Operator ISUB
ISUB_VALUE
public static final Operator IMUL
IMUL_VALUE
public static final Operator IDIV
IDIV_VALUE
public static final Operator IAND
IAND_VALUE
public static final Operator IOR
IOR_VALUE
public static final Operator IXOR
IXOR_VALUE
public static final Operator ILT
ILT_VALUE
public static final Operator ILE
ILE_VALUE
public static final Operator IEQ
IEQ_VALUE
public static final Operator IGE
IGE_VALUE
public static final Operator IGT
IGT_VALUE
public static final Operator INEQ
INEQ_VALUE
Field Detail |
---|
public static final int ADD_VALUE
If the meaning of 'Add' literal object isn't clear, there really should be more of a description here...
ADD
,
Constant Field Valuesname | = | add |
literal | = | ADD |
public static final int IADD_VALUE
If the meaning of 'Iadd' literal object isn't clear, there really should be more of a description here...
IADD
,
Constant Field Valuesname | = | iadd |
literal | = | IADD |
public static final int SUB_VALUE
If the meaning of 'Sub' literal object isn't clear, there really should be more of a description here...
SUB
,
Constant Field Valuesname | = | sub |
literal | = | SUB |
public static final int MUL_VALUE
If the meaning of 'Mul' literal object isn't clear, there really should be more of a description here...
MUL
,
Constant Field Valuesname | = | mul |
literal | = | MUL |
public static final int DIV_VALUE
If the meaning of 'Div' literal object isn't clear, there really should be more of a description here...
DIV
,
Constant Field Valuesname | = | div |
literal | = | DIV |
public static final int AND_VALUE
If the meaning of 'And' literal object isn't clear, there really should be more of a description here...
AND
,
Constant Field Valuesname | = | and |
literal | = | AND |
public static final int OR_VALUE
If the meaning of 'Or' literal object isn't clear, there really should be more of a description here...
OR
,
Constant Field Valuesname | = | or |
literal | = | OR |
public static final int XOR_VALUE
If the meaning of 'Xor' literal object isn't clear, there really should be more of a description here...
XOR
,
Constant Field Valuesname | = | xor |
literal | = | XOR |
public static final int LT_VALUE
If the meaning of 'Lt' literal object isn't clear, there really should be more of a description here...
LT
,
Constant Field Valuesname | = | lt |
literal | = | LT |
public static final int LE_VALUE
If the meaning of 'Le' literal object isn't clear, there really should be more of a description here...
LE
,
Constant Field Valuesname | = | le |
literal | = | LE |
public static final int EQ_VALUE
If the meaning of 'Eq' literal object isn't clear, there really should be more of a description here...
EQ
,
Constant Field Valuesname | = | eq |
literal | = | EQ |
public static final int GE_VALUE
If the meaning of 'Ge' literal object isn't clear, there really should be more of a description here...
GE
,
Constant Field Valuesname | = | ge |
literal | = | GE |
public static final int GT_VALUE
If the meaning of 'Gt' literal object isn't clear, there really should be more of a description here...
GT
,
Constant Field Valuesname | = | gt |
literal | = | GT |
public static final int NEQ_VALUE
If the meaning of 'Neq' literal object isn't clear, there really should be more of a description here...
NEQ
,
Constant Field Valuesname | = | neq |
literal | = | NEQ |
public static final int ISUB_VALUE
If the meaning of 'Isub' literal object isn't clear, there really should be more of a description here...
ISUB
,
Constant Field Valuesname | = | isub |
literal | = | ISUB |
public static final int IMUL_VALUE
If the meaning of 'Imul' literal object isn't clear, there really should be more of a description here...
IMUL
,
Constant Field Valuesname | = | imul |
literal | = | IMUL |
public static final int IDIV_VALUE
If the meaning of 'Idiv' literal object isn't clear, there really should be more of a description here...
IDIV
,
Constant Field Valuesname | = | idiv |
literal | = | IDIV |
public static final int IAND_VALUE
If the meaning of 'Iand' literal object isn't clear, there really should be more of a description here...
IAND
,
Constant Field Valuesname | = | iand |
literal | = | IAND |
public static final int IOR_VALUE
If the meaning of 'Ior' literal object isn't clear, there really should be more of a description here...
IOR
,
Constant Field Valuesname | = | ior |
literal | = | IOR |
public static final int IXOR_VALUE
If the meaning of 'Ixor' literal object isn't clear, there really should be more of a description here...
IXOR
,
Constant Field Valuesname | = | ixor |
literal | = | IXOR |
public static final int ILT_VALUE
If the meaning of 'Ilt' literal object isn't clear, there really should be more of a description here...
ILT
,
Constant Field Valuesname | = | ilt |
literal | = | ILT |
public static final int ILE_VALUE
If the meaning of 'Ile' literal object isn't clear, there really should be more of a description here...
ILE
,
Constant Field Valuesname | = | ile |
literal | = | ILE |
public static final int IEQ_VALUE
If the meaning of 'Ieq' literal object isn't clear, there really should be more of a description here...
IEQ
,
Constant Field Valuesname | = | ieq |
literal | = | IEQ |
public static final int IGE_VALUE
If the meaning of 'Ige' literal object isn't clear, there really should be more of a description here...
IGE
,
Constant Field Valuesname | = | ige |
literal | = | IGE |
public static final int IGT_VALUE
If the meaning of 'Igt' literal object isn't clear, there really should be more of a description here...
IGT
,
Constant Field Valuesname | = | igt |
literal | = | IGT |
public static final int INEQ_VALUE
If the meaning of 'Ineq' literal object isn't clear, there really should be more of a description here...
INEQ
,
Constant Field Valuesname | = | ineq |
literal | = | INEQ |
public static final List<Operator> VALUES
Method Detail |
---|
public static Operator[] values()
for (Operator c : Operator.values()) System.out.println(c);
public static Operator valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static Operator get(String literal)
public static Operator getByName(String name)
public static Operator get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<Operator>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |