Enum Constant and Description |
---|
EQUAL |
GREATER |
GREATEREQUAL |
LESS |
LESSEQUAL |
NOTEQUAL |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Operator |
fromInt(int i) |
static Operator |
fromString(java.lang.String s) |
int |
toInt() |
java.lang.String |
toString() |
static Operator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operator UNKNOWN
public static final Operator EQUAL
public static final Operator NOTEQUAL
public static final Operator LESS
public static final Operator GREATER
public static final Operator LESSEQUAL
public static final Operator GREATEREQUAL
public static Operator[] values()
for (Operator c : Operator.values()) System.out.println(c);
public static 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 int toInt()
public static Operator fromInt(int i)
public static Operator fromString(java.lang.String s)
public java.lang.String toString()
toString
in class java.lang.Enum<Operator>