|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexedSorter
Interface for sort algorithms accepting IndexedSortable
items.
A sort algorithm implementing this interface may only
IndexedSortable.compare(int, int)
and IndexedSortable.swap(int, int)
items
for a range of indices to effect a sort across that range.
Method Summary | |
---|---|
void |
sort(IndexedSortable s,
int l,
int r)
Sort the items accessed through the given IndexedSortable over the given range of logical indices. |
void |
sort(IndexedSortable s,
int l,
int r,
Progressable rep)
Same as sort(IndexedSortable,int,int) , but indicate progress
periodically. |
Method Detail |
---|
void sort(IndexedSortable s, int l, int r)
IndexedSortable.compare(int, int)
,
IndexedSortable.swap(int, int)
void sort(IndexedSortable s, int l, int r, Progressable rep)
sort(IndexedSortable,int,int)
, but indicate progress
periodically.
sort(IndexedSortable,int,int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |