edu.rice.cs.cunit.util
Interface ILambda.Nary<R,P>

All Known Implementing Classes:
ILambda.Nary.BinaryAdaptor, ILambda.Nary.Bind, ILambda.Nary.BindK, ILambda.Nary.Max, ILambda.Nary.Min, ILambda.Nary.TernaryAdaptor, ILambda.Nary.UnaryAdaptor
Enclosing interface:
ILambda<R,P>

public static interface ILambda.Nary<R,P>

N-ary lambda interface R <- P x P x ... x P.


Nested Class Summary
static class ILambda.Nary.BinaryAdaptor<R,P>
          Adapter to turn a binary lambda into an N-ary lambda (with N=2).
static class ILambda.Nary.Bind<R,P>
          (N-1)-ary decorator for an N-ary lambda that binds a constant to one of its parameters.
static class ILambda.Nary.BindK<R,P>
          (N-K)-ary decorator for an N-ary lambda that binds constants to K of its parameters.
static class ILambda.Nary.Max<T extends java.lang.Comparable<T>>
          N-ary maximum.
static class ILambda.Nary.Min<T extends java.lang.Comparable<T>>
          N-ary minimum.
static class ILambda.Nary.TernaryAdaptor<R,P>
          Adapter to turn a ternary lambda into an N-ary lambda (with N=3).
static class ILambda.Nary.UnaryAdaptor<R,P>
          Adapter to turn a unary lambda into an N-ary lambda (with N=1).
 
Method Summary
 R apply(P... param)
          Apply the lambda.
 

Method Detail

apply

R apply(P... param)
Apply the lambda.

Parameters:
param - lambda-specific parameters
Returns:
lambda-specific return value