public enum IntOperator extends java.lang.Enum<IntOperator>
Enum Constant and Description |
---|
EQUALS |
EQUALS_NOT |
GREATER_OR_EQUALS |
GREATER_THAN |
LESS_OR_EQUALS |
LESS_THAN |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
apply(int value,
int constraint) |
static IntOperator |
fromSymbol(java.lang.String s) |
static IntOperator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntOperator EQUALS
public static final IntOperator EQUALS_NOT
public static final IntOperator LESS_THAN
public static final IntOperator LESS_OR_EQUALS
public static final IntOperator GREATER_THAN
public static final IntOperator GREATER_OR_EQUALS
public static IntOperator[] values()
for (IntOperator c : IntOperator.values()) System.out.println(c);
public static IntOperator 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 abstract boolean apply(int value, int constraint)
public static IntOperator fromSymbol(java.lang.String s)