public class ArraySelectionSort extends java.lang.Object implements ArraySortingAlgorithm
| Constructor and Description |
|---|
ArraySelectionSort() |
| Modifier and Type | Method and Description |
|---|---|
static ArraySelectionSort |
singleton() |
void |
sort(ArraySortingGopher gopher)
Just do it.
|
void |
sort(ArraySortingGopher gopher,
int start,
int end)
Does the job using the given gopher over the given range.
|
public static ArraySelectionSort singleton()
public final void sort(ArraySortingGopher gopher)
sort in interface ArraySortingAlgorithmpublic final void sort(ArraySortingGopher gopher, int start, int end)
ArraySortingAlgorithmsort in interface ArraySortingAlgorithm