All Packages Class Hierarchy This Package Previous Next Index
Interface sun.server.util.Compare
- public interface Compare
-
doCompare(Object, Object)
- doCompare
doCompare
public abstract int doCompare(Object obj1,
Object obj2)
- doCompare
- Parameters:
- obj1 - The first object that is to be compared
- obj2 - The object that the first object is to be compared against
- Returns:
- -1 if obj1 < obj2, 0 if obj1 == obj2, 1 if obj1 > obj2
All Packages Class Hierarchy This Package Previous Next Index