Module org.eclipse.xtext.xbase.lib
Class FunctionDelegate<P,R>
java.lang.Object
org.eclipse.xtext.xbase.lib.internal.FunctionDelegate<P,R>
- Type Parameters:
P- the type of the arguments that can be passed to this function.R- the type of the result instances of this function.
- All Implemented Interfaces:
com.google.common.base.Function<P,,R> Function<P,R>
@GwtCompatible
public class FunctionDelegate<P,R>
extends Object
implements com.google.common.base.Function<P,R>
Internal wrapper to look like a google.collect function
- Author:
- Sebastian Zarnekow - Initial contribution and API
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionDelegate(Functions.Function1<? super P, ? extends R> delegate) Creates a newFunctionDelegatethat wraps the given delegate function. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Function
equals
-
Constructor Details
-
FunctionDelegate
Creates a newFunctionDelegatethat wraps the given delegate function.- Parameters:
delegate- the delegate function. May not benull.
-
-
Method Details