|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.xtext.xbase.lib.internal.FunctionDelegate<P,R>
P - the type of the arguments that can be passed to this function.R - the type of the result instances of this function.public class FunctionDelegate<P,R>
Internal wrapper to look like a google.collect function
| Constructor Summary | |
|---|---|
FunctionDelegate(Functions.Function1<? super P,? extends R> delegate)
Creates a new FunctionDelegate that wraps the given delegate function. |
|
| Method Summary | |
|---|---|
R |
apply(P input)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
|---|
equals |
| Constructor Detail |
|---|
public FunctionDelegate(Functions.Function1<? super P,? extends R> delegate)
FunctionDelegate that wraps the given delegate function.
delegate - the delegate function. May not be null.| Method Detail |
|---|
public R apply(P input)
apply in interface com.google.common.base.Function<P,R>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||