public static enum Comparison.Mode extends java.lang.Enum<Comparison.Mode>
Enum Constant and Description |
---|
ABSOLUTE
Input value is returned when the comparison is satisfied
|
PASS_FAIL
0 if comparison failed, 1 if it passed
|
REFERENCE
The reference value that satisfies the comparison is returned, no output if none match
|
ZONE
The index (0 based) of the value that satisfies the comparison is returned, n if none match
|
Modifier and Type | Method and Description |
---|---|
static Comparison.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Comparison.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comparison.Mode ABSOLUTE
public static final Comparison.Mode REFERENCE
public static final Comparison.Mode ZONE
public static final Comparison.Mode PASS_FAIL
public static Comparison.Mode[] values()
for (Comparison.Mode c : Comparison.Mode.values()) System.out.println(c);
public static Comparison.Mode 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 null