public enum Compare extends Enum<Compare> implements Predicate
| Enum Constant and Description |
|---|
EQUAL |
GREATER_THAN |
GREATER_THAN_EQUAL |
LESS_THAN |
LESS_THAN_EQUAL |
NOT_EQUAL |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(Iterable<Property> properties,
Object second,
Collection<PropertyDefinition> propertyDefinitions) |
static Compare |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Compare[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Compare EQUAL
public static final Compare NOT_EQUAL
public static final Compare GREATER_THAN
public static final Compare GREATER_THAN_EQUAL
public static final Compare LESS_THAN
public static final Compare LESS_THAN_EQUAL
public static Compare[] values()
for (Compare c : Compare.values()) System.out.println(c);
public static Compare 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.