public abstract class ComparisonPredicate<T> extends ExpressionPredicate
Modifier and Type | Field and Description |
---|---|
protected PropertyFunction<T> |
property |
protected T |
value |
Constructor and Description |
---|
ComparisonPredicate(PropertyFunction<T> property,
T value) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
compare(T value) |
PropertyFunction<T> |
property() |
boolean |
test(Composite item) |
T |
value() |
protected final PropertyFunction<T> property
protected final T value
public ComparisonPredicate(PropertyFunction<T> property, T value)
public PropertyFunction<T> property()
public final boolean test(Composite item)
protected abstract boolean compare(T value)
public T value()