public abstract class AbstractSorter<T extends IComparable> extends Object implements Sorter<T>
| Constructor and Description |
|---|
AbstractSorter() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends IComparable> |
array2list(T[] src) |
static <T extends IComparable> |
array2vector(T[] src)
Transfers an array into Vector.
|
static <T extends IComparable> |
list2array(List<T> src)
Transfers a list into array.
|
List<T> |
sort(Enumeration<T> source,
SortType how)
Sorts the given Enumeration of IFIComparables after given method and order.
|
static IComparable[] |
vector2array(Vector<IComparable> src)
Transfers a vector into array.
|
public static IComparable[] vector2array(Vector<IComparable> src)
public static <T extends IComparable> T[] list2array(List<T> src)
public static <T extends IComparable> Vector<T> array2vector(T[] src)
public static <T extends IComparable> List<T> array2list(T[] src)
public List<T> sort(Enumeration<T> source, SortType how)
Sortersort in interface Sorter<T extends IComparable>Copyright © 2010-2014 anotheria.net. All Rights Reserved.