|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.rice.cs.cunit.util.ILambda.NaryAdaptor<R,P>
public static class ILambda.NaryAdaptor<R,P>
Adapter to turn an N-ary lambda into a unary lambda.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface edu.rice.cs.cunit.util.ILambda |
---|
ILambda.Binary<R,P,Q>, ILambda.Nary<R,P>, ILambda.NaryAdaptor<R,P>, ILambda.Ternary<R,P,Q,S> |
Field Summary | |
---|---|
private ILambda.Nary<R,P> |
_decoree
The N-ary lambda. |
Constructor Summary | |
---|---|
ILambda.NaryAdaptor(ILambda.Nary<R,P> decoree)
Creates a new unary lambda. |
Method Summary | |
---|---|
R |
apply(P param)
Apply the N-ary lambda. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private ILambda.Nary<R,P> _decoree
Constructor Detail |
---|
public ILambda.NaryAdaptor(ILambda.Nary<R,P> decoree)
decoree
- N-ary lambdaMethod Detail |
---|
public R apply(P param)
apply
in interface ILambda<R,P>
param
- the parameter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |