public static enum BinaryOperation.Operator extends 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 |
---|---|
String |
toString() |
static BinaryOperation.Operator |
valueOf(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(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 toString()
toString
in class Enum<BinaryOperation.Operator>
Copyright © 2020. All rights reserved.