private class WordDelimiterFilter.OffsetSorter extends InPlaceMergeSorter
| Modifier | Constructor and Description |
|---|---|
private |
OffsetSorter() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
compare(int i,
int j)
Compare entries found in slots
i and j. |
protected void |
swap(int i,
int j)
Swap values at slots
i and j. |
sortcomparePivot, setPivotprotected int compare(int i,
int j)
Sorteri and j.
The contract for the returned value is the same as
Comparator.compare(Object, Object).