|
||||||||||
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.Binary.NaryAdaptor<R,P>
public static class ILambda.Binary.NaryAdaptor<R,P>
Adapter to turn an N-ary lambda into a binary lambda.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface edu.rice.cs.cunit.util.ILambda.Binary |
---|
ILambda.Binary.Bind1st<R,P,Q>, ILambda.Binary.Bind2nd<R,P,Q>, ILambda.Binary.Max<T extends java.lang.Comparable<T>>, ILambda.Binary.Min<T extends java.lang.Comparable<T>>, ILambda.Binary.NaryAdaptor<R,P> |
Field Summary | |
---|---|
private ILambda.Nary<R,P> |
_decoree
The N-ary lambda. |
Constructor Summary | |
---|---|
ILambda.Binary.NaryAdaptor(ILambda.Nary<R,P> decoree)
Creates a new binary lambda. |
Method Summary | |
---|---|
R |
apply(P param1,
P param2)
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.Binary.NaryAdaptor(ILambda.Nary<R,P> decoree)
decoree
- N-ary lambdaMethod Detail |
---|
public R apply(P param1, P param2)
apply
in interface ILambda.Binary<R,P,P>
param1
- the first parameter.param2
- the second parameter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |