public interface SortingAlgorithm
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.
| Modifier and Type | Method and Description |
|---|---|
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). |
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)