C - the context typepublic abstract class AbstractPredicate<C> extends Object implements Predicate<C>
| Constructor and Description |
|---|
AbstractPredicate() |
| Modifier and Type | Method and Description |
|---|---|
Predicate<C> |
and(Predicate<C> other)
Combines this predicate and the provided one as a boolean
AND, i.e. |
Predicate<C> |
or(Predicate<C> other)
Combines this predicate with the provided one as a boolean
OR. |
public Predicate<C> and(Predicate<C> other)
PredicateAND, i.e. this method returns
a predicate which matches entries if both this predicate and the provided other
return a positive result.Copyright © 2017–2024. All rights reserved.