public enum OperatorType extends Enum<OperatorType>
| Enum Constant and Description |
|---|
EQUALITY |
INEQUALITY |
LARGEROREQUALTHAN |
LARGERTHAN |
SMALLEROREQUALTHAN |
SMALLERTHAN |
| Modifier and Type | Method and Description |
|---|---|
static String |
operatorToString(OperatorType op) |
static OperatorType |
stringToOperator(String s) |
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 EQUALITY
public static final OperatorType INEQUALITY
public static final OperatorType LARGERTHAN
public static final OperatorType LARGEROREQUALTHAN
public static final OperatorType SMALLERTHAN
public static final OperatorType SMALLEROREQUALTHAN
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 static String operatorToString(OperatorType op)
public static OperatorType stringToOperator(String s)
Copyright © 2017 Space Applications Services. All rights reserved.