java.util.function.Predicate<T>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.consumer, snapshot| Constructor | Description |
|---|---|
PredicateWithContext(ContextSnapshot snapshot,
java.util.function.Predicate<T> delegate) |
|
PredicateWithContext(ContextSnapshot snapshot,
java.util.function.Predicate<T> delegate,
java.util.function.Consumer<ContextSnapshot> consumer) |
| Modifier and Type | Method | 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) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdelegate, nonNullDelegateequals, hashCode, toStringpublic PredicateWithContext(ContextSnapshot snapshot, java.util.function.Predicate<T> delegate)
public PredicateWithContext(ContextSnapshot snapshot, java.util.function.Predicate<T> delegate, java.util.function.Consumer<ContextSnapshot> consumer)
Copyright © 2016–2018 Talsma ICT. All rights reserved.