Class WordDelimiterGraphFilter.PositionSorter

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private PositionSorter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PositionSorter

        private PositionSorter()
    • Method Detail

      • 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