static class Highlighter.FragmentQueue extends PriorityQueue<TextFragment>
Constructor and Description |
---|
FragmentQueue(int size) |
Modifier and Type | Method and Description |
---|---|
boolean |
lessThan(TextFragment fragA,
TextFragment fragB)
Determines the ordering of objects in this priority queue.
|
add, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTop
public final boolean lessThan(TextFragment fragA, TextFragment fragB)
PriorityQueue
lessThan
in class PriorityQueue<TextFragment>
true
iff parameter a is less than parameter b.