Source of 15.7.java


  1: // @author Frank M. Carrano, Timothy M. Henry
  2: // @version 5.0
  3: public static <T extends Comparable<? super T>>
  4:        void selectionSort(T[] a, int n)
  5: {
  6:    selectionSort(a, 0, n - 1); // Invoke recursive method
  7: } // end selectionSort