1 package collections.sortable;
2
3 public interface Comparable2 {
4 public boolean equals(Object other);
5
6 public boolean isLess(Object other);
7
8 public boolean isGreater(Object other);
9
10 public int hashCode();
11 }
12