java.util.function.BiFunction<IN1,IN2,OUT>BinaryOperatorWithContextpublic class BiFunctionWithContext<IN1,IN2,OUT> extends WrapperWithContext<T> implements java.util.function.BiFunction<IN1,IN2,OUT>
BiFunction that reactivates a context snapshot before
calling a delegate.| Modifier | Constructor | Description |
|---|---|---|
protected |
BiFunctionWithContext(java.util.function.Supplier<ContextSnapshot> supplier,
java.util.function.BiFunction<IN1,IN2,OUT> delegate,
java.util.function.Consumer<ContextSnapshot> consumer) |
|
|
BiFunctionWithContext(ContextSnapshot snapshot,
java.util.function.BiFunction<IN1,IN2,OUT> delegate) |
|
|
BiFunctionWithContext(ContextSnapshot snapshot,
java.util.function.BiFunction<IN1,IN2,OUT> delegate,
java.util.function.Consumer<ContextSnapshot> consumer) |
| Modifier and Type | Method | Description |
|---|---|---|
<V> java.util.function.BiFunction<IN1,IN2,V> |
andThen(java.util.function.Function<? super OUT,? extends V> after) |
|
OUT |
apply(IN1 in1,
IN2 in2) |
|
protected java.util.Optional<java.util.function.Consumer<ContextSnapshot>> |
consumer() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdelegate, nonNullDelegateequals, hashCode, snapshot, toStringpublic BiFunctionWithContext(ContextSnapshot snapshot, java.util.function.BiFunction<IN1,IN2,OUT> delegate)
public BiFunctionWithContext(ContextSnapshot snapshot, java.util.function.BiFunction<IN1,IN2,OUT> delegate, java.util.function.Consumer<ContextSnapshot> consumer)
protected BiFunctionWithContext(java.util.function.Supplier<ContextSnapshot> supplier, java.util.function.BiFunction<IN1,IN2,OUT> delegate, java.util.function.Consumer<ContextSnapshot> consumer)
Copyright © 2016–2018 Talsma ICT. All rights reserved.