Example #1
0
 public static <E> void selectionSort(E[] sort, Comparator<E> comparator) {
   if (sort != null && sort.length > 0) {
     selectionSort(sort, sort.length, comparator);
   }
 }