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 Details

    • OffsetSorter

      private OffsetSorter()
  • Method Details

    • compare

      protected int compare(int i, int j)
      Description copied from class: Sorter
      Compare entries found in slots i and j. The contract for the returned value is the same as Comparator.compare(Object, Object).
      Specified by:
      compare in class Sorter
    • swap

      protected void swap(int i, int j)
      Description copied from class: Sorter
      Swap values at slots i and j.
      Specified by:
      swap in class Sorter