Module org.apache.lucene.core
Package org.apache.lucene.search
Class BooleanScorer.TailPriorityQueue
java.lang.Object
org.apache.lucene.util.PriorityQueue<BooleanScorer.BulkScorerAndDoc>
org.apache.lucene.search.BooleanScorer.TailPriorityQueue
- All Implemented Interfaces:
Iterable<BooleanScorer.BulkScorerAndDoc>
- Enclosing class:
BooleanScorer
static final class BooleanScorer.TailPriorityQueue
extends PriorityQueue<BooleanScorer.BulkScorerAndDoc>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget
(int i) protected boolean
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, updateTop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TailPriorityQueue
public TailPriorityQueue(int maxSize)
-
-
Method Details
-
lessThan
Description copied from class:PriorityQueue
Determines the ordering of objects in this priority queue. Subclasses must define this one method.- Specified by:
lessThan
in classPriorityQueue<BooleanScorer.BulkScorerAndDoc>
- Returns:
true
iff parametera
is less than parameterb
.
-
get
-