| Modifier and Type | Field and Description |
|---|---|
| private final Predicate | iPredicate1
The array of predicates to call |
| private final Predicate | iPredicate2
The array of predicates to call |
| private static final long | serialVersionUID
Serial version UID |
| Access | Constructor and Description |
|---|---|
| public | AndPredicate(final Predicate<? super T>
the first predicate to check, not null predicate1, final Predicate<? super T> the second predicate to check, not null predicate2)Constructor that performs no validation. |
| Modifier and Type | Method and Description |
|---|---|
| public static < the type that the predicate queries T> Predicate | Returns: theand predicatethe first predicate to check, not null predicate1, final Predicate<? super T> the second predicate to check, not null predicate2)Factory to create the predicate. |
| public boolean | Returns: true if both decorated predicates return truethe input object object)Implements org. |
| public Predicate | Returns: the predicatesImplements org. |
| iPredicate1 | back to summary |
|---|---|
| private final Predicate<? super T> iPredicate1 The array of predicates to call | |
| iPredicate2 | back to summary |
|---|---|
| private final Predicate<? super T> iPredicate2 The array of predicates to call | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serial version UID | |
| AndPredicate | back to summary |
|---|---|
| public AndPredicate(final Predicate<? super T> predicate1, final Predicate<? super T> predicate2) Constructor that performs no validation.
Use | |
| andPredicate | back to summary |
|---|---|
| public static <T> Predicate Factory to create the predicate.
| |
| evaluate | back to summary |
|---|---|
| public boolean evaluate(final T object) Implements org. Evaluates the predicate returning true if both predicates return true.
| |
| getPredicates | back to summary |
|---|---|
| public Predicate Implements org. Gets the two predicates being decorated as an array.
| |