java.util.function.BiConsumer<T,U>public class BiConsumerWithContext<T,U> extends WrapperWithContext<T> implements java.util.function.BiConsumer<T,U>
BiConsumer that reactivates a context snapshot before
calling a delegate.| Modifier | Constructor | Description |
|---|---|---|
protected |
BiConsumerWithContext(java.util.function.Supplier<ContextSnapshot> supplier,
java.util.function.BiConsumer<T,U> delegate,
java.util.function.Consumer<ContextSnapshot> consumer) |
|
|
BiConsumerWithContext(ContextSnapshot snapshot,
java.util.function.BiConsumer<T,U> delegate) |
|
|
BiConsumerWithContext(ContextSnapshot snapshot,
java.util.function.BiConsumer<T,U> delegate,
java.util.function.Consumer<ContextSnapshot> consumer) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(T t,
U u) |
|
java.util.function.BiConsumer<T,U> |
andThen(java.util.function.BiConsumer<? super T,? super U> after) |
|
protected java.util.Optional<java.util.function.Consumer<ContextSnapshot>> |
consumer() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdelegate, nonNullDelegateequals, hashCode, snapshot, toStringpublic BiConsumerWithContext(ContextSnapshot snapshot, java.util.function.BiConsumer<T,U> delegate)
public BiConsumerWithContext(ContextSnapshot snapshot, java.util.function.BiConsumer<T,U> delegate, java.util.function.Consumer<ContextSnapshot> consumer)
protected BiConsumerWithContext(java.util.function.Supplier<ContextSnapshot> supplier, java.util.function.BiConsumer<T,U> delegate, java.util.function.Consumer<ContextSnapshot> consumer)
Copyright © 2016–2018 Talsma ICT. All rights reserved.