java.util.function.Function<IN,OUT>UnaryOperatorWithContextpublic class FunctionWithContext<IN,OUT> extends WrapperWithContext<java.util.function.Function<IN,OUT>> implements java.util.function.Function<IN,OUT>
Function that reactivates a context snapshot before
calling a delegate.consumer, snapshot| Constructor | Description |
|---|---|
FunctionWithContext(ContextSnapshot snapshot,
java.util.function.Function<IN,OUT> delegate) |
|
FunctionWithContext(ContextSnapshot snapshot,
java.util.function.Function<IN,OUT> delegate,
java.util.function.Consumer<ContextSnapshot> consumer) |
| Modifier and Type | Method | Description |
|---|---|---|
<V> java.util.function.Function<IN,V> |
andThen(java.util.function.Function<? super OUT,? extends V> after) |
|
OUT |
apply(IN in) |
|
<V> java.util.function.Function<V,OUT> |
compose(java.util.function.Function<? super V,? extends IN> before) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdelegate, nonNullDelegateequals, hashCode, toStringpublic FunctionWithContext(ContextSnapshot snapshot, java.util.function.Function<IN,OUT> delegate)
public FunctionWithContext(ContextSnapshot snapshot, java.util.function.Function<IN,OUT> delegate, java.util.function.Consumer<ContextSnapshot> consumer)
Copyright © 2016–2018 Talsma ICT. All rights reserved.