public enum TextPredicate extends Enum<TextPredicate> implements Predicate
| Enum Constant and Description |
|---|
CONTAINS |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(Iterable<Property> properties,
Object second,
Collection<PropertyDefinition> propertyDefinitions) |
static TextPredicate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextPredicate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextPredicate CONTAINS
public static TextPredicate[] values()
for (TextPredicate c : TextPredicate.values()) System.out.println(c);
public static TextPredicate 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 boolean evaluate(Iterable<Property> properties, Object second, Collection<PropertyDefinition> propertyDefinitions)
Copyright © 2014–2017. All rights reserved.