T - public class IdentityWrappedInvoker<T> extends Object implements WrappedInvoker<T>
| Constructor and Description |
|---|
IdentityWrappedInvoker(T object) |
| Modifier and Type | Method and Description |
|---|---|
<TResult> TResult |
invoke(Function<T,TResult> function)
Your implementation of this method should manufacture or reuse an instance of T, then apply function to it
|
public IdentityWrappedInvoker(T object)
public <TResult> TResult invoke(Function<T,TResult> function)
WrappedInvokerinvoke in interface WrappedInvoker<T>TResult - The return type of your functionfunction - Your function that will execute given an instance of TCopyright © 2019. All rights reserved.