public enum OperatorType extends Enum<OperatorType>
| Enum Constant and Description |
|---|
AND |
DIVIDE |
LL |
MINUS |
MOD |
MULTIPLY |
NOT |
OR |
PLUS |
RR |
XOR |
| Modifier and Type | Method and Description |
|---|---|
String |
getOperator() |
static OperatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorType AND
public static final OperatorType OR
public static final OperatorType XOR
public static final OperatorType NOT
public static final OperatorType LL
public static final OperatorType RR
public static final OperatorType PLUS
public static final OperatorType MINUS
public static final OperatorType MULTIPLY
public static final OperatorType DIVIDE
public static final OperatorType MOD
public static OperatorType[] values()
for (OperatorType c : OperatorType.values()) System.out.println(c);
public static OperatorType 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 String getOperator()
Copyright © 2024. All rights reserved.