Module org.apache.lucene.core
Package org.apache.lucene.search
Class BooleanScorer.TailPriorityQueue
java.lang.Object
org.apache.lucene.util.PriorityQueue<DisiWrapper>
org.apache.lucene.search.BooleanScorer.TailPriorityQueue
- All Implemented Interfaces:
Iterable<DisiWrapper>
- Enclosing class:
BooleanScorer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(int i) protected booleanlessThan(DisiWrapper a, DisiWrapper b) Determines 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
-
TailPriorityQueue
public TailPriorityQueue(int maxSize)
-
-
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<DisiWrapper>- Returns:
trueiff parameterais less than parameterb.
-
get
-