Enum Constant and Description |
---|
EQUAL_TO
Equal to value.
|
GREATER_THAN
Strictly greater than a value.
|
LESS_THAN
Strictly lesser than a value.
|
MEMBER_OF
Any of the items in set is EqualTo.
|
NOT_EQUAL_TO
Not equal to value.
|
Modifier and Type | Method and Description |
---|---|
static Operator |
getDefault()
Get the enum constant that is considered to be the default.
|
static Operator |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
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 GREATER_THAN
public static final Operator LESS_THAN
public static final Operator EQUAL_TO
public static final Operator NOT_EQUAL_TO
public static final Operator MEMBER_OF
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 getValue()
public static Operator getFromValue(int value)
value
- a numeric value.public static Operator getDefault()