|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.data.ArraySelectionSort
public class ArraySelectionSort
A generic selection sort.
| Constructor Summary | |
|---|---|
ArraySelectionSort()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArraySelectionSort()
| Method Detail |
|---|
public static ArraySelectionSort singleton()
public final void sort(ArraySortingGopher gopher)
sort in interface ArraySortingAlgorithm
public final void sort(ArraySortingGopher gopher,
int start,
int end)
ArraySortingAlgorithm
sort in interface ArraySortingAlgorithm
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||