Enum Constant and Description |
---|
ADD
Addition
|
AND
(logical) and
|
DIV
Division
|
EQ
Equal
|
GE
Greater or equal than
|
GT
Greater than
|
LE
Lower or equal than
|
LT
Lower than
|
MUL
Multiplication
|
NEQ
Not equal
|
OR
(logical) or
|
SUB
Subtraction
|
Modifier and Type | Method and Description |
---|---|
static BinOp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BinOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinOp ADD
public static final BinOp SUB
public static final BinOp MUL
public static final BinOp DIV
public static final BinOp AND
public static final BinOp OR
public static final BinOp EQ
public static final BinOp NEQ
public static final BinOp LT
public static final BinOp LE
public static final BinOp GT
public static final BinOp GE
public static BinOp[] values()
for (BinOp c : BinOp.values()) System.out.println(c);
public static BinOp 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 null