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

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

public static interface ILambda.Ternary<R,P,Q,S>

Ternary lambda interface R <- P x Q x S.


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

Method Detail

apply

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

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