public enum BinaryOperator extends Enum<BinaryOperator> implements Operator
| Enum Constant and Description |
|---|
AND |
EQUALS |
GETARRAYATINDEX |
GREATER_THAN |
PLUS |
| Modifier and Type | Method and Description |
|---|---|
String |
getRepresentation() |
static BinaryOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryOperator PLUS
public static final BinaryOperator EQUALS
public static final BinaryOperator GREATER_THAN
public static final BinaryOperator AND
public static final BinaryOperator GETARRAYATINDEX
public static BinaryOperator[] values()
for (BinaryOperator c : BinaryOperator.values()) System.out.println(c);
public static BinaryOperator 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 getRepresentation()
getRepresentation in interface OperatorCopyright © 2014. All Rights Reserved.