P - the type of the arguments that can be passed to this function.R - the type of the result instances of this function.@GwtCompatible
public class FunctionDelegate<P,R>
extends java.lang.Object
implements com.google.common.base.Function<P,R>
| Constructor and Description |
|---|
FunctionDelegate(Functions.Function1<? super P,? extends R> delegate)
Creates a new
FunctionDelegate that wraps the given delegate function. |
public FunctionDelegate(Functions.Function1<? super P,? extends R> delegate)
FunctionDelegate that wraps the given delegate function.delegate - the delegate function. May not be null.