Interface powersoft.jcm.util.CompareRoutine
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface powersoft.jcm.util.CompareRoutine

public interface CompareRoutine
extends Object
CompareRoutine serves as the interface for user-defined comparison functions.
See Also:
SortableVector, StringUtility

Method Index

 o compare(Object, Object)
Compares two objects.

Methods

 o compare
  public abstract int compare(Object obj1,
                              Object obj2)
Compares two objects.
Parameters:
obj1 - first object
obj2 - second object
Returns:
A negative number if obj1 < obj2, 0 if obj1 == obj2, or a positive number if obj1 > obj2.

All Packages  Class Hierarchy  This Package  Previous  Next  Index