/** * Sorts the given list using compareTo as comparator. * * @param <T> type of the objects to be sorted. * @param list list to be sorted */ public static <T extends Comparable> void sort(List<T> list) { sort(list, (Comparator<T>) OBJCOMP); }
/** * Sorts the given list using compareTo as comparator. * * @param list list to be sorted */ public static <T extends Comparable> void sort(List<T> list) { sort(list, (Comparator<T>) OBJCOMP); }
/** * Sorts the given list using compareTo as comparator. * * @param list list to be sorted */ public static <T extends Comparable> void sort(List<T> list) { sort(list, (Comparator<T>) OBJCOMP); }
QuickSort.sort(textList, comparator);
QuickSort.sort(textList, comparator);
QuickSort.sort(textList, comparator);