Package technology.tabula
Class QuickSort
java.lang.Object
technology.tabula.QuickSort
An implementation of Quicksort.
- Author:
- UWe Pachler
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Comparable<? super T>>
voidSorts the given list according to natural order.static <T> voidsort(List<T> list, Comparator<? super T> comparator) Sorts the given list using the given comparator.
-
Method Details
-
sort
Sorts the given list according to natural order. -
sort
Sorts the given list using the given comparator.
-