@InterfaceAudience.LimitedPrivate(value="MapReduce") @InterfaceStability.Unstable 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 © 2013 Apache Software Foundation. All rights reserved.