private static final class MultiTermsEnum.TermMergeQueue extends PriorityQueue<MultiTermsEnum.TermsEnumWithSlice>
| Modifier and Type | Field and Description |
|---|---|
(package private) int[] |
stack |
| Constructor and Description |
|---|
TermMergeQueue(int size) |
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
fillTop(MultiTermsEnum.TermsEnumWithSlice[] tops)
Add the
PriorityQueue.top() slice as well as all slices that are positionned
on the same term to tops and return how many of them there are. |
private MultiTermsEnum.TermsEnumWithSlice |
get(int i) |
protected boolean |
lessThan(MultiTermsEnum.TermsEnumWithSlice termsA,
MultiTermsEnum.TermsEnumWithSlice termsB)
Determines the ordering of objects in this priority queue.
|
add, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTopprotected boolean lessThan(MultiTermsEnum.TermsEnumWithSlice termsA, MultiTermsEnum.TermsEnumWithSlice termsB)
PriorityQueuelessThan in class PriorityQueue<MultiTermsEnum.TermsEnumWithSlice>true iff parameter a is less than parameter b.int fillTop(MultiTermsEnum.TermsEnumWithSlice[] tops)
PriorityQueue.top() slice as well as all slices that are positionned
on the same term to tops and return how many of them there are.private MultiTermsEnum.TermsEnumWithSlice get(int i)