org.omus.data
Interface DataList.Comparator

Enclosing class:
DataList

public static interface DataList.Comparator

DataList.Comparators can be passed to the sort method of DataList to allow precise control over the sort order.


Method Summary
 int compare(DataField f1, DataField f2)
          Compares its two arguments for order.
 

Method Detail

compare

public int compare(DataField f1,
                   DataField f2)
Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.