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.
-
compareItems(Item, Item)
- Compare two Item(s) for the purpose of sorting.
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