Package technology.tabula
Class QuickSort
java.lang.Object
technology.tabula.QuickSort
public final class QuickSort extends Object
An implementation of Quicksort.
- Author:
- UWe Pachler
- See Also:
- wikipedia
-
Method Summary
Modifier and Type Method Description static <T extends Comparable<? super T>>
voidsort(List<T> list)Sorts 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.