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

All Known Implementing Classes:
ILambda.Binary.Max, ILambda.Binary.Min, ILambda.Binary.NaryAdaptor, ILambda.Ternary.Bind1st, ILambda.Ternary.Bind2nd, ILambda.Ternary.Bind3rd
Enclosing interface:
ILambda<R,P>

public static interface ILambda.Binary<R,P,Q>

Binary lambda interface R <- P x Q.


Nested Class Summary
static class ILambda.Binary.Bind1st<R,P,Q>
          Unary decorator for a binary lambda that binds a constant to its first parameter.
static class ILambda.Binary.Bind2nd<R,P,Q>
          Unary decorator for a binary lambda that binds a constant to its second parameter.
static class ILambda.Binary.Max<T extends java.lang.Comparable<T>>
          Binary maximum.
static class ILambda.Binary.Min<T extends java.lang.Comparable<T>>
          Binary minimum.
static class ILambda.Binary.NaryAdaptor<R,P>
          Adapter to turn an N-ary lambda into a binary lambda.
 
Method Summary
 R apply(P param1, Q param2)
          Apply the lambda.
 

Method Detail

apply

R apply(P param1,
        Q param2)
Apply the lambda.

Parameters:
param1 - lambda-specific first parameter
param2 - lambda-specific second parameter
Returns:
lambda-specific return value