public enum NumberMatch extends java.lang.Enum<NumberMatch>
Enum Constant and Description |
---|
EQUALS
Checks that Num1 == Num2
|
GREATER_THAN
Checks that Num1 > Num2
|
GREATER_THAN_OR_EQUAL_TO
Checks that Num1 >= Num2
|
LESS_THAN
Checks that Num1 < Num2
|
LESS_THAN_OR_EQUAL_TO
Checks that Num1 <= Num2
|
NOT_EQUALS
Checks that Num1 !
|
Modifier and Type | Method and Description |
---|---|
static NumberMatch |
fromSymbol(java.lang.String symbol) |
java.lang.String |
getSymbol()
Return the symbol that identifies the matchers
|
int |
getType() |
static NumberMatch |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NumberMatch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberMatch EQUALS
public static final NumberMatch NOT_EQUALS
public static final NumberMatch LESS_THAN
public static final NumberMatch GREATER_THAN
public static final NumberMatch LESS_THAN_OR_EQUAL_TO
public static final NumberMatch GREATER_THAN_OR_EQUAL_TO
public static NumberMatch[] values()
for (NumberMatch c : NumberMatch.values()) System.out.println(c);
public static NumberMatch 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 java.lang.String getSymbol()
public int getType()
public static NumberMatch fromSymbol(java.lang.String symbol)