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

java.lang.Object
  extended by edu.rice.cs.cunit.util.ILambda.Binary.Bind1st<R,P,S>
      extended by edu.rice.cs.cunit.util.ILambda.Ternary.Bind1st2nd<R,P,Q,S>
All Implemented Interfaces:
ILambda<R,S>
Enclosing interface:
ILambda.Ternary<R,P,Q,S>

public static class ILambda.Ternary.Bind1st2nd<R,P,Q,S>
extends ILambda.Binary.Bind1st<R,P,S>

Unary decorator for a ternary lambda that binds constants to its first and second parameters.


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>
 
Constructor Summary
ILambda.Ternary.Bind1st2nd(ILambda.Ternary<R,P,Q,S> decoree, P constant1, Q constant2)
          Creates a new unary decorator for a ternary lambda, binding constants to its first and second parameter.
 
Method Summary
 
Methods inherited from class edu.rice.cs.cunit.util.ILambda.Binary.Bind1st
apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ILambda.Ternary.Bind1st2nd

public ILambda.Ternary.Bind1st2nd(ILambda.Ternary<R,P,Q,S> decoree,
                                  P constant1,
                                  Q constant2)
Creates a new unary decorator for a ternary lambda, binding constants to its first and second parameter.

Parameters:
decoree - ternary lambda
constant1 - constant for the ternary lambda's first parameter
constant2 - constant for the ternary lambda's second parameter