Enum AssignmentOperator
-
- All Implemented Interfaces:
public enum AssignmentOperator
Apex assignment operator
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALS
ADDITION_EQUALS
SUBTRACTION_EQUALS
MULTIPLICATION_EQUALS
DIVISION_EQUALS
LEFT_SHIFT_EQUALS
RIGHT_SHIFT_SIGNED_EQUALS
RIGHT_SHIFT_UNSIGNED_EQUALS
BITWISE_AND_EQUALS
BITWISE_OR_EQUALS
BITWISE_XOR_EQUALS
-
Method Summary
Modifier and Type Method Description String
toString()
static AssignmentOperator
valueOf(BinaryExpression.Operator op)
Returns a AssignmentOperator corresponding to the given . static Array<AssignmentOperator>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static AssignmentOperator
valueOf(String name)
Returns the enum constant of this type with the specified name. -
-
Method Detail
-
valueOf
static AssignmentOperator valueOf(BinaryExpression.Operator op)
Returns a AssignmentOperator corresponding to the given . If
op
isnull
, EQUALS is returned.
-
values
static Array<AssignmentOperator> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static AssignmentOperator valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
-
-
-