public class TopElementsQueue extends org.apache.lucene.util.PriorityQueue<MutableElement>
Constructor and Description |
---|
TopElementsQueue(int maxSize) |
Modifier and Type | Method and Description |
---|---|
protected MutableElement |
getSentinelObject() |
List<MutableElement> |
getTopElements() |
protected boolean |
lessThan(MutableElement e1,
MutableElement e2) |
add, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public List<MutableElement> getTopElements()
protected MutableElement getSentinelObject()
getSentinelObject
in class org.apache.lucene.util.PriorityQueue<MutableElement>
protected boolean lessThan(MutableElement e1, MutableElement e2)
lessThan
in class org.apache.lucene.util.PriorityQueue<MutableElement>
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.