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, updateTopprotected final boolean lessThan(Spans spans1, Spans spans2)
PriorityQueuelessThan in class PriorityQueue<Spans>true iff parameter a is less than parameter b.void startDocument()
throws java.io.IOException
java.io.IOExceptionboolean nextPosition()
throws java.io.IOException
java.io.IOExceptionboolean atMatch()