public enum ConditionEquivalence extends Enum<ConditionEquivalence>
Enum Constant and Description |
---|
EQUIVALENT
For two conditions which have strictly the same behavior
|
NEGATED
For two conditions which have strictly an opposite behavior
|
NONE
For two conditions which have nothing in common
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isEquivalent() |
abstract boolean |
isNegated() |
static ConditionEquivalence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConditionEquivalence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConditionEquivalence EQUIVALENT
public static final ConditionEquivalence NEGATED
public static final ConditionEquivalence NONE
public static ConditionEquivalence[] values()
for (ConditionEquivalence c : ConditionEquivalence.values()) System.out.println(c);
public static ConditionEquivalence valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean isEquivalent()
EQUIVALENT
public abstract boolean isNegated()
NEGATED