java.util.function.BiPredicate<IN1,IN2>public class BiPredicateWithContext<IN1,IN2> extends WrapperWithContext<T> implements java.util.function.BiPredicate<IN1,IN2>
BiPredicate that reactivates a context snapshot before
calling a delegate.| Modifier | Constructor | Description |
|---|---|---|
protected |
BiPredicateWithContext(java.util.function.Supplier<ContextSnapshot> supplier,
java.util.function.BiPredicate<IN1,IN2> delegate,
java.util.function.Consumer<ContextSnapshot> consumer) |
|
|
BiPredicateWithContext(ContextSnapshot snapshot,
java.util.function.BiPredicate<IN1,IN2> delegate) |
|
|
BiPredicateWithContext(ContextSnapshot snapshot,
java.util.function.BiPredicate<IN1,IN2> delegate,
java.util.function.Consumer<ContextSnapshot> consumer) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.function.BiPredicate<IN1,IN2> |
and(java.util.function.BiPredicate<? super IN1,? super IN2> other) |
|
protected java.util.Optional<java.util.function.Consumer<ContextSnapshot>> |
consumer() |
|
java.util.function.BiPredicate<IN1,IN2> |
or(java.util.function.BiPredicate<? super IN1,? super IN2> other) |
|
boolean |
test(IN1 in1,
IN2 in2) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdelegate, nonNullDelegateequals, hashCode, snapshot, toStringpublic BiPredicateWithContext(ContextSnapshot snapshot, java.util.function.BiPredicate<IN1,IN2> delegate)
public BiPredicateWithContext(ContextSnapshot snapshot, java.util.function.BiPredicate<IN1,IN2> delegate, java.util.function.Consumer<ContextSnapshot> consumer)
protected BiPredicateWithContext(java.util.function.Supplier<ContextSnapshot> supplier, java.util.function.BiPredicate<IN1,IN2> delegate, java.util.function.Consumer<ContextSnapshot> consumer)
public java.util.function.BiPredicate<IN1,IN2> and(java.util.function.BiPredicate<? super IN1,? super IN2> other)
public java.util.function.BiPredicate<IN1,IN2> or(java.util.function.BiPredicate<? super IN1,? super IN2> other)
protected java.util.Optional<java.util.function.Consumer<ContextSnapshot>> consumer()
Copyright © 2016–2019 Talsma ICT. All rights reserved.