net.sf.jga.fn.comparison
Class Max.Comparable<T extends java.lang.Comparable<? super T>>

java.lang.Object
  extended by net.sf.jga.fn.Functor<R>
      extended by net.sf.jga.fn.BinaryFunctor<T,T,T>
          extended by net.sf.jga.fn.comparison.Max<T>
              extended by net.sf.jga.fn.comparison.Max.Comparable<T>
All Implemented Interfaces:
java.io.Serializable, Visitable
Enclosing class:
Max<T>

public static class Max.Comparable<T extends java.lang.Comparable<? super T>>
extends Max<T>

Max functor for use with Comparable arguments. This class exists as an implementation detail that works around a limit in the javac inferencer -- in all substantive ways, this is simply a Max functor.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.jga.fn.comparison.Max
Max.Comparable<T extends java.lang.Comparable<? super T>>, Max.Visitor
 
Constructor Summary
Max.Comparable()
           
 
Method Summary
 
Methods inherited from class net.sf.jga.fn.comparison.Max
accept, fn, getComparator, toString
 
Methods inherited from class net.sf.jga.fn.BinaryFunctor
bind, bind0th, bind1st, bind2nd, bindNth, compose, compose, composeNth, distribute, eval, generate, generate1st, generate2nd, generateNth
 
Methods inherited from class net.sf.jga.fn.Functor
composeNth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Max.Comparable

public Max.Comparable()


Copyright © 2002-2006 David A. Hall. All Rights Reserved.