public class SortUtil extends Object
| Constructor and Description |
|---|
SortUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
exchange(List<T> a,
int i,
int j) |
static boolean |
isSorted(List<Integer> a) |
static <T> boolean |
less(T a1,
T a2,
Comparator<T> comparator) |
public static <T> void exchange(List<T> a, int i, int j)
public static <T> boolean less(T a1,
T a2,
Comparator<T> comparator)
Copyright © 2017. All rights reserved.