|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SortingAlgorithm
An interface for generic array (indexed item, not necessarily an actual Java array object) sorting algorithms.
To use, select an implementation of this, and an instance of
SortingGopher, and then sort away.
The less-than-hardcore should look at SortingLib since it has
convenience functions that make it things much easier.
Copyright 2000-2006 Partner Software, Inc.
| Method Summary | |
|---|---|
void |
sort(SortingGopher gopher)
Sorts using the given SortingGopher. |
void |
sort(SortingGopher gopher,
int start,
int end)
Sorts using the given SortingGopher over the given range (start <=
i < end). |
| Method Detail |
|---|
void sort(SortingGopher gopher)
SortingGopher.
gopher - SortingGopher adapter for underlying array-like structure.
void sort(SortingGopher gopher,
int start,
int end)
SortingGopher over the given range (start <=
i < end).
gopher - SortingGopher adapter for underlying array-like structure.start - starting index (0 is minimum) for sort region (inclusive)end - ending index for sort region (exclusive)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||