private class NearSpansUnordered.SpanTotalLengthEndPositionWindow extends PriorityQueue<Spans>
Modifier and Type | Field and Description |
---|---|
(package private) int |
maxEndPosition |
(package private) int |
totalSpanLength |
Constructor and Description |
---|
SpanTotalLengthEndPositionWindow() |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
atMatch() |
protected boolean |
lessThan(Spans spans1,
Spans spans2)
Determines the ordering of objects in this priority queue.
|
(package private) boolean |
nextPosition() |
(package private) void |
startDocument() |
add, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTop
protected final boolean lessThan(Spans spans1, Spans spans2)
PriorityQueue
lessThan
in class PriorityQueue<Spans>
true
iff parameter a is less than parameter b.void startDocument() throws java.io.IOException
java.io.IOException
boolean nextPosition() throws java.io.IOException
java.io.IOException
boolean atMatch()