public class ConsumerWithContext<T> extends WrapperWithContext<Consumer<T>> implements Consumer<T>
Consumer that reactivates a context snapshot before
calling a delegate.snapshot| Constructor and Description |
|---|
ConsumerWithContext(ContextSnapshot snapshot,
Consumer<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t) |
Consumer<T> |
andThen(Consumer<? super T> after) |
equals, hashCode, toStringdelegate, nonNullDelegatepublic ConsumerWithContext(ContextSnapshot snapshot, Consumer<T> delegate)
Copyright © 2016–2018 Talsma ICT. All rights reserved.