org.kaoriha.jspbp.renderer.table
Class Sorter<ColT extends Enum<ColT>,U extends Comparable<U>>
java.lang.Object
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>>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sorter
public Sorter(Sort<ColT> sort)
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.