public class QuickSorter<T extends IComparable> extends AbstractSorter<T>
| Constructor and Description |
|---|
QuickSorter() |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
sort(Enumeration<T> source,
SortType sType)
sorts an Enumeration with the QuickSort Algorithm and returns a sorted Vector
|
List<T> |
sort(List<T> source,
SortType sType)
sorts a List with the QuickSort Algorithm
|
array2list, array2vector, list2array, vector2arraypublic List<T> sort(Enumeration<T> source, SortType sType)
sort in interface Sorter<T extends IComparable>sort in class AbstractSorter<T extends IComparable>source - the Enumeration you want to sortsType - how you want to sortCopyright © 2010-2014 anotheria.net. All Rights Reserved.