public interface IndexedSortable
IndexedSorter
algorithms.限定符和类型 | 方法和说明 |
---|---|
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 © 2009 The Apache Software Foundation