T
- public class EnumCondition<T extends java.lang.Enum<?>> extends java.lang.Object implements Condition<T>
Constructor and Description |
---|
EnumCondition(T... values) |
Modifier and Type | Method and Description |
---|---|
T[] |
getValues() |
boolean |
passes(T value)
Returns whether the provided value passes the condition.
|
java.lang.String |
toString() |
public EnumCondition(T... values)