public class PredicateWithContext<T> extends WrapperWithContext<Predicate<T>> implements Predicate<T>
Predicate that reactivates a context snapshot before
calling a delegate.snapshot| Constructor and Description |
|---|
PredicateWithContext(ContextSnapshot snapshot,
Predicate<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
Predicate<T> |
and(Predicate<? super T> other) |
Predicate<T> |
or(Predicate<? super T> other) |
boolean |
test(T t) |
equals, hashCode, toStringdelegate, nonNullDelegatepublic PredicateWithContext(ContextSnapshot snapshot, Predicate<T> delegate)
Copyright © 2016–2017 Talsma ICT. All rights reserved.