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.
 

Method Detail

compare

int compare(java.lang.Object first,
            java.lang.Object second)
Compare two objects for order.

Parameters:
first - first object
second - second object
Returns:
<0 if first < second; 0 if first = second; >0 if first > second


Copyright © 2009. All Rights Reserved.