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 . |
sort
comparePivot, setPivot
protected int compare(int i, int j)
Sorter
i
and j
.
The contract for the returned value is the same as
Comparator.compare(Object, Object)
.