Module org.apache.lucene.core
Package org.apache.lucene.util
Class MergedIterator.TermMergeQueue<C extends Comparable<C>>
java.lang.Object
org.apache.lucene.util.PriorityQueue<MergedIterator.SubIterator<C>>
org.apache.lucene.util.MergedIterator.TermMergeQueue<C>
- All Implemented Interfaces:
Iterable<MergedIterator.SubIterator<C>>
- Enclosing class:
MergedIterator<T extends Comparable<T>>
private static class MergedIterator.TermMergeQueue<C extends Comparable<C>>
extends PriorityQueue<MergedIterator.SubIterator<C>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDetermines the ordering of objects in this priority queue.Methods inherited from class org.apache.lucene.util.PriorityQueue
add, addAll, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TermMergeQueue
TermMergeQueue(int size)
-
-
Method Details
-
lessThan
Description copied from class:PriorityQueueDetermines the ordering of objects in this priority queue. Subclasses must define this one method.- Specified by:
lessThanin classPriorityQueue<MergedIterator.SubIterator<C extends Comparable<C>>>- Returns:
trueiff parameterais less than parameterb.
-