Source of 8.7.java


  1: public static <T extends Comparable<? super T>>
  2:        void selectionSort(T[] a, int n)
  3: {
  4:    selectionSort(a, 0, n - 1); // Invoke recursive method
  5: } // end selectionSort
  6: // Version 4.0