+1 to that.

On Dec 23, 2009 5:29 PM, "Benson Margulies" <bimargul...@gmail.com> wrote:

Current:

 public static void quickSort(Object[] a) {
   quickSort1(a, 0, a.length);
 }

proposed:

 public static <T extends Comparable<? super T>>  static void quickSort(T[])
{
   ...
 }

The contract is that the objects implement Comparable. I took the
above from Collections.sort.

There are no current callers of this function.

Reply via email to