com.mindbright.util
public final class ArraySort extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ArraySort.Comparable
The elemnts in the array should implement this interface
|
Constructor and Description |
---|
ArraySort() |
Modifier and Type | Method and Description |
---|---|
static void |
sort(ArraySort.Comparable[] arr) |
static void |
sort(ArraySort.Comparable[] arr,
int start,
int end) |
public static void sort(ArraySort.Comparable[] arr)
public static void sort(ArraySort.Comparable[] arr, int start, int end)