public enum ComparisonOutput extends java.lang.Enum<ComparisonOutput>
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 ComparisonOutput |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonOutput[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComparisonOutput ABSOLUTE
public static final ComparisonOutput REFERENCE
public static final ComparisonOutput ZONE
public static final ComparisonOutput PASS_FAIL
public static ComparisonOutput[] values()
for (ComparisonOutput c : ComparisonOutput.values()) System.out.println(c);
public static ComparisonOutput 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