org.fcrepo.swing.jtable
Class ColumnComparator
java.lang.Object
org.fcrepo.swing.jtable.ColumnComparator
- All Implemented Interfaces:
- Comparator
public class ColumnComparator
- extends Object
- implements Comparator
ColumnComparator.
NOTICE: Portions created by Claude Duguay are Copyright ©
Claude Duguay, originally made available at
http://www.fawcette.com/javapro/2002_08/magazine/columns/visualcomponents/
- Author:
- Claude Duguay, Chris Wilper
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
index
protected int index
ascending
protected boolean ascending
ColumnComparator
public ColumnComparator(int index,
boolean ascending)
compare
public int compare(Object one,
Object two)
- Specified by:
compare in interface Comparator
Copyright © 2012 DuraSpace. All Rights Reserved.