public enum AssignmentOperator extends Enum<AssignmentOperator> implements CodeElement
| Enum Constant and Description |
|---|
ADDITION |
BITWISE_AND |
BITWISE_OR |
BITWISE_XOR |
DIVISION |
LEFT_SHIFT |
MULTIPLICATION |
REMAINDER |
RIGHT_SHIFT |
SIMPLE |
SUBTRACTION |
UNSIGNED_RIGHT_SHIFT |
| Modifier and Type | Method and Description |
|---|---|
CodeWriter |
acceptCodeWriter(CodeWriter w) |
String |
toString() |
static AssignmentOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssignmentOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssignmentOperator SIMPLE
public static final AssignmentOperator MULTIPLICATION
public static final AssignmentOperator DIVISION
public static final AssignmentOperator REMAINDER
public static final AssignmentOperator ADDITION
public static final AssignmentOperator SUBTRACTION
public static final AssignmentOperator LEFT_SHIFT
public static final AssignmentOperator RIGHT_SHIFT
public static final AssignmentOperator UNSIGNED_RIGHT_SHIFT
public static final AssignmentOperator BITWISE_AND
public static final AssignmentOperator BITWISE_XOR
public static final AssignmentOperator BITWISE_OR
public static AssignmentOperator[] values()
for (AssignmentOperator c : AssignmentOperator.values()) System.out.println(c);
public static AssignmentOperator 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 final CodeWriter acceptCodeWriter(CodeWriter w)
acceptCodeWriter in interface CodeElementpublic final String toString()
toString in class Enum<AssignmentOperator>Copyright © 2019 Objectos Software LTDA. All rights reserved.