public enum AssignmentOperatorType extends java.lang.Enum<AssignmentOperatorType>
| Enum Constant and Description |
|---|
ADD |
ANY |
ASSIGN |
BITWISE_AND |
BITWISE_OR |
DIVIDE |
EXCLUSIVE_OR |
MODULUS |
MULTIPLY |
SHIFT_LEFT |
SHIFT_RIGHT |
SUBTRACT |
UNSIGNED_SHIFT_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCompoundAssignment() |
static AssignmentOperatorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AssignmentOperatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssignmentOperatorType ASSIGN
public static final AssignmentOperatorType ADD
public static final AssignmentOperatorType SUBTRACT
public static final AssignmentOperatorType MULTIPLY
public static final AssignmentOperatorType DIVIDE
public static final AssignmentOperatorType MODULUS
public static final AssignmentOperatorType SHIFT_LEFT
public static final AssignmentOperatorType SHIFT_RIGHT
public static final AssignmentOperatorType UNSIGNED_SHIFT_RIGHT
public static final AssignmentOperatorType BITWISE_AND
public static final AssignmentOperatorType BITWISE_OR
public static final AssignmentOperatorType EXCLUSIVE_OR
public static final AssignmentOperatorType ANY
public static AssignmentOperatorType[] values()
for (AssignmentOperatorType c : AssignmentOperatorType.values()) System.out.println(c);
public static AssignmentOperatorType 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 final boolean isCompoundAssignment()