org.formaria.swing.table
Class NumberSorter

java.lang.Object
  extended by org.formaria.swing.table.NumberSorter
All Implemented Interfaces:
java.util.Comparator

public class NumberSorter
extends java.lang.Object
implements java.util.Comparator

A sorter for columns of number values

Copyright (c) Formaria Ltd., 2008, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial


Constructor Summary
NumberSorter()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
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

NumberSorter

public NumberSorter()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator