org.kaoriha.jspbp.renderer.table
Class Sorter<ColT extends Enum<ColT>,U extends Comparable<U>>

java.lang.Object
  extended by org.kaoriha.jspbp.renderer.table.Sorter<ColT,U>
All Implemented Interfaces:
Comparator<Map<ColT,U>>

public class Sorter<ColT extends Enum<ColT>,U extends Comparable<U>>
extends Object
implements Comparator<Map<ColT,U>>


Constructor Summary
Sorter(Sort<ColT> sort)
           
 
Method Summary
 int compare(Map<ColT,U> left, Map<ColT,U> right)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

Sorter

public Sorter(Sort<ColT> sort)
Method Detail

compare

public int compare(Map<ColT,U> left,
                   Map<ColT,U> right)
Specified by:
compare in interface Comparator<Map<ColT extends Enum<ColT>,U extends Comparable<U>>>


Copyright ? 2007-2008 Hound. All Rights Reserved.