|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.table.TableDataComparator
Defines a class that performs comparisons based on object type for objects that support the Comparatable interface. Any other object is sorted based on it's toString() value.
Field Summary | |
static int |
EQUAL
Indicates that the first object is equal to the second object. |
static int |
GREATER_THAN
Indicates that the first objet is greater than the second object. |
static int |
LESS_THAN
Indicates that the first object is less than the second object. |
Constructor Summary | |
TableDataComparator()
|
Method Summary | |
int |
compare(Object a,
Object b)
A method that compares object a to object b |
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 |
Field Detail |
public static final int LESS_THAN
public static final int EQUAL
public static final int GREATER_THAN
Constructor Detail |
public TableDataComparator()
Method Detail |
public int compare(Object a, Object b)
compare
in interface Comparator
a
- The first objectb
- The second object
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |