Class WordDelimiterGraphFilter.PositionSorter
- java.lang.Object
-
- org.apache.lucene.util.Sorter
-
- org.apache.lucene.util.InPlaceMergeSorter
-
- org.apache.lucene.analysis.miscellaneous.WordDelimiterGraphFilter.PositionSorter
-
- Enclosing class:
- WordDelimiterGraphFilter
private class WordDelimiterGraphFilter.PositionSorter extends InPlaceMergeSorter
-
-
Constructor Summary
Constructors Modifier Constructor Description privatePositionSorter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcompare(int i, int j)Compare entries found in slotsiandj.protected voidswap(int i, int j)Swap values at slotsiandj.-
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:SorterCompare entries found in slotsiandj. The contract for the returned value is the same asComparator.compare(Object, Object).
-
-