public interface Comparable { /** * compareTo should return -1 if the current * object is "less" than the parameter object, 1 if "greater" * or 0 if equal. It is advisable to also implement the * equals() method for your objects so that it * consistent with this method. * * @param obj an Object value * @return an int value */ public int compareTo (Object obj); }