public class ISort
extends java.lang.Object
IComparator
Constructor and Description |
---|
ISort() |
Modifier and Type | Method and Description |
---|---|
static <T> java.util.List<T> |
bubbleSort(java.util.List<T> target,
IComparator<T> comparator) |
static <T> java.util.List<T> |
sort(java.util.List<T> target,
IComparator<T> comparator) |
static <T> void |
sort(java.util.List<T> target,
IComparator<T> comparator,
int from,
int to) |
static <T> T[] |
sort(T[] target,
IComparator<T> comparator) |
public static <T> void sort(java.util.List<T> target, IComparator<T> comparator, int from, int to)
public static <T> java.util.List<T> sort(java.util.List<T> target, IComparator<T> comparator)
public static <T> T[] sort(T[] target, IComparator<T> comparator)
public static <T> java.util.List<T> bubbleSort(java.util.List<T> target, IComparator<T> comparator)