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