| Enum Constant and Description |
|---|
ADD |
AND |
DIV |
LOGICAL_SHIFT_RIGHT |
MUL |
OR |
REM |
SHIFT_LEFT |
SHIFT_RIGHT |
SUB |
XOR |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
chars |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLogic() |
static BinaryOp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BinaryOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryOp ADD
public static final BinaryOp SUB
public static final BinaryOp MUL
public static final BinaryOp DIV
public static final BinaryOp REM
public static final BinaryOp AND
public static final BinaryOp OR
public static final BinaryOp XOR
public static final BinaryOp SHIFT_LEFT
public static final BinaryOp SHIFT_RIGHT
public static final BinaryOp LOGICAL_SHIFT_RIGHT
public static BinaryOp[] values()
for (BinaryOp c : BinaryOp.values()) System.out.println(c);
public static BinaryOp 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 nullpublic boolean isLogic()