public final class StaticQuickSorter extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends IComparable> |
sort(Collection<T> source,
SortType sType)
Sorts a collection of comparables
|
static <T extends IComparable> |
sort(List<T> source,
SortType sType)
sorts a List with the QuickSort Algorithm
|
public static <T extends IComparable> List<T> sort(Collection<T> source, SortType sType)
T - extends IComparablesource - collection to sortsType - the sort type (sort method and order).public static <T extends IComparable> List<T> sort(List<T> source, SortType sType)
source - the vector you want to sortsType - SortType ... how you wanna sort the VectorCopyright © 2010-2014 anotheria.net. All Rights Reserved.