PDF (US Ltr)
- 3.6Mb
PDF (A4)
- 3.7Mb
Used to combine multiple predicates with boolean operations.
public interface Predicate {
// Public Methodspublic abstract Predicate and(Predicate predicate);
public abstract Predicate not();
public abstract Predicate or(Predicate predicate);
}
public abstract Predicate and(Predicate predicate);
Combine this Predicate with another, using the "and" semantic.
Table 4.98 and(Predicate)
Parameter | Description |
---|---|
predicate | the other predicate |
return | a new Predicate combining both Predicates |
public abstract Predicate not();
Negate this Predicate.