All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sgi.sysadm.category.ItemComparator

public interface ItemComparator
Interface for comparing two Item(s) for the purposes of sorting.


Method Index

 o compareItems(Item, Item)
Compare two Item(s) for the purpose of sorting.

Methods

 o compareItems
 public abstract int compareItems(Item first,
                                  Item second)
Compare two Item(s) for the purpose of sorting.

Parameters:
first - first Item to compare
second - second Item to compare
Returns:
< 0 if first < second, 0 if first == second, or > 0 if first > second based on the criteria used for comparision.

All Packages  Class Hierarchy  This Package  Previous  Next  Index