edu.rice.cs.cunit.util
Class ILambda.Nary.Max<T extends java.lang.Comparable<T>>

java.lang.Object
  extended by edu.rice.cs.cunit.util.ILambda.Nary.Max<T>
All Implemented Interfaces:
ILambda.Nary<T,T>
Enclosing interface:
ILambda.Nary<R,P>

public static class ILambda.Nary.Max<T extends java.lang.Comparable<T>>
extends java.lang.Object
implements ILambda.Nary<T,T>

N-ary maximum.


Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.rice.cs.cunit.util.ILambda.Nary
ILambda.Nary.BinaryAdaptor<R,P>, ILambda.Nary.Bind<R,P>, ILambda.Nary.BindK<R,P>, ILambda.Nary.Max<T extends java.lang.Comparable<T>>, ILambda.Nary.Min<T extends java.lang.Comparable<T>>, ILambda.Nary.TernaryAdaptor<R,P>, ILambda.Nary.UnaryAdaptor<R,P>
 
Constructor Summary
ILambda.Nary.Max()
           
 
Method Summary
 T apply(T... param)
          Apply the lambda.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ILambda.Nary.Max

public ILambda.Nary.Max()
Method Detail

apply

public T apply(T... param)
Description copied from interface: ILambda.Nary
Apply the lambda.

Specified by:
apply in interface ILambda.Nary<T extends java.lang.Comparable<T>,T extends java.lang.Comparable<T>>
Parameters:
param - lambda-specific parameters
Returns:
lambda-specific return value