public static enum BinaryOperation.Operator extends java.lang.Enum<BinaryOperation.Operator>
Enum Constant and Description |
---|
DIVIDE |
EQUALS |
GREATER_THAN |
GREATER_THAN_OR_EQUALS_TO |
LESS_THAN |
LESS_THAN_OR_EQUALS_TO |
MINUS |
MULTIPLY |
NOT_EQUALS |
PLUS |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static BinaryOperation.Operator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BinaryOperation.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryOperation.Operator PLUS
public static final BinaryOperation.Operator MINUS
public static final BinaryOperation.Operator MULTIPLY
public static final BinaryOperation.Operator DIVIDE
public static final BinaryOperation.Operator LESS_THAN
public static final BinaryOperation.Operator LESS_THAN_OR_EQUALS_TO
public static final BinaryOperation.Operator GREATER_THAN
public static final BinaryOperation.Operator GREATER_THAN_OR_EQUALS_TO
public static final BinaryOperation.Operator EQUALS
public static final BinaryOperation.Operator NOT_EQUALS
public static BinaryOperation.Operator[] values()
for (BinaryOperation.Operator c : BinaryOperation.Operator.values()) System.out.println(c);
public static BinaryOperation.Operator 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 java.lang.String toString()
toString
in class java.lang.Enum<BinaryOperation.Operator>