public enum OperatorKind extends Enum<OperatorKind>
| Enum Constant and Description |
|---|
ARITHMETIC_ADDITION |
ASSIGNMENT_MULTIPLY |
ASSIGNMENT_XOR |
LOGICAL_AND |
LOGICAL_OR |
RELATIONAL_EQUAL_TO |
RELATIONAL_LESS_THAN |
RELATIONAL_NOT_EQUAL_TO |
UNARY_LOGICAL_NOT |
UNARY_POST_INCREMENT |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPrefixOperator() |
static OperatorKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatorKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorKind ARITHMETIC_ADDITION
public static final OperatorKind LOGICAL_AND
public static final OperatorKind LOGICAL_OR
public static final OperatorKind ASSIGNMENT_XOR
public static final OperatorKind ASSIGNMENT_MULTIPLY
public static final OperatorKind RELATIONAL_EQUAL_TO
public static final OperatorKind RELATIONAL_NOT_EQUAL_TO
public static final OperatorKind RELATIONAL_LESS_THAN
public static final OperatorKind UNARY_LOGICAL_NOT
public static final OperatorKind UNARY_POST_INCREMENT
public static OperatorKind[] values()
for (OperatorKind c : OperatorKind.values()) System.out.println(c);
public static OperatorKind 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 boolean isPrefixOperator()
Copyright © 2022 Google LLC. All rights reserved.