Module com.aoapps.hodgepodge
Package com.aoapps.hodgepodge.sort
Interface ComparisonSortAlgorithm<E>
- All Superinterfaces:
SortAlgorithm<E>
- All Known Implementing Classes:
AutoSort
,EQSort
,FastQSort
,HeapSort
,JavaSort
,QubbleSort
,ShellSort
Generalized structure for sort algorithms that are based on comparisons.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescription<T extends E>
voidsort
(List<T> list, Comparator<? super T> comparator) <T extends E>
voidsort
(List<T> list, Comparator<? super T> comparator, SortStatistics stats) <T extends E>
voidsort
(T[] array, Comparator<? super T> comparator) <T extends E>
voidsort
(T[] array, Comparator<? super T> comparator, SortStatistics stats)
-
Method Details
-
sort
-
sort
-
sort
-
sort
-