com.metamatrix.console.util
Interface Compares
public interface Compares
Interface used by StaticQuickSorter. Same as Comparator interface less
the equals() method.
Method Summary |
int |
compare(java.lang.Object first,
java.lang.Object second)
Compare two objects for order. |
compare
int compare(java.lang.Object first,
java.lang.Object second)
- Compare two objects for order.
- Parameters:
first
- first objectsecond
- second object
- Returns:
- <0 if first < second; 0 if first = second; >0 if first > second
Copyright © 2009. All Rights Reserved.