posted 16 years ago
According to the documentation of class Collections, the binarySearch method you are calling looks like this:
public static <T> int binarySearch(List<? extends Comparable<? super T>> list, T key)
Especially note the type of the list. It must be a list of objects that extend Comparable, but the Comparable must also be generic. You must change your class Super so that it extends Comparable<Super>, instead of just Comparable: