Class Highlighter.FragmentQueue

    • Constructor Detail

      • FragmentQueue

        FragmentQueue​(int size)
    • Method Detail

      • lessThan

        public final boolean lessThan​(TextFragment fragA,
                                      TextFragment fragB)
        Description copied from class: PriorityQueue
        Determines the ordering of objects in this priority queue. Subclasses must define this one method.
        Specified by:
        lessThan in class PriorityQueue<TextFragment>
        Returns:
        true iff parameter a is less than parameter b.