public interface IndexedSortable
IndexedSorter
algorithms.Modifier and Type | Method and Description |
---|---|
int |
compare(int i,
int j)
Compare items at the given addresses consistent with the semantics of
Comparator.compare(Object, Object) . |
void |
swap(int i,
int j)
Swap items at the given addresses.
|
int compare(int i, int j)
Comparator.compare(Object, Object)
.void swap(int i, int j)
Copyright © 2010 The Apache Software Foundation