java.util.function.Supplier<T>public class SupplierWithContext<T> extends WrapperWithContext<java.util.function.Supplier<T>> implements java.util.function.Supplier<T>
Supplier that reactivates a context snapshot before
calling a delegate.consumer, snapshot| Constructor | Description |
|---|---|
SupplierWithContext(ContextSnapshot snapshot,
java.util.function.Supplier<T> delegate) |
|
SupplierWithContext(ContextSnapshot snapshot,
java.util.function.Supplier<T> delegate,
java.util.function.Consumer<ContextSnapshot> snapshotConsumer) |
| Modifier and Type | Method | Description |
|---|---|---|
T |
get() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdelegate, nonNullDelegateequals, hashCode, toStringpublic SupplierWithContext(ContextSnapshot snapshot, java.util.function.Supplier<T> delegate)
public SupplierWithContext(ContextSnapshot snapshot, java.util.function.Supplier<T> delegate, java.util.function.Consumer<ContextSnapshot> snapshotConsumer)
Copyright © 2016–2018 Talsma ICT. All rights reserved.