Class WordDelimiterFilter.OffsetSorter
- java.lang.Object
-
- org.apache.lucene.util.Sorter
-
- org.apache.lucene.util.InPlaceMergeSorter
-
- org.apache.lucene.analysis.miscellaneous.WordDelimiterFilter.OffsetSorter
-
- Enclosing class:
- WordDelimiterFilter
private class WordDelimiterFilter.OffsetSorter extends InPlaceMergeSorter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
OffsetSorter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
compare(int i, int j)
Compare entries found in slotsi
andj
.protected void
swap(int i, int j)
Swap values at slotsi
andj
.-
Methods inherited from class org.apache.lucene.util.InPlaceMergeSorter
sort
-
Methods inherited from class org.apache.lucene.util.Sorter
comparePivot, setPivot
-
-
-
-
Method Detail
-
compare
protected int compare(int i, int j)
Description copied from class:Sorter
Compare entries found in slotsi
andj
. The contract for the returned value is the same asComparator.compare(Object, Object)
.
-
-