public final class DisiPriorityQueue extends Object implements Iterable<DisiWrapper>
PriorityQueue
because the
pluggable comparison function makes the rebalancing quite slow.Constructor and Description |
---|
DisiPriorityQueue(int maxSize) |
Modifier and Type | Method and Description |
---|---|
DisiWrapper |
add(DisiWrapper entry) |
Iterator<DisiWrapper> |
iterator() |
DisiWrapper |
pop() |
int |
size() |
DisiWrapper |
top() |
DisiWrapper |
topList()
Get the list of scorers which are on the current doc.
|
DisiWrapper |
updateTop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public int size()
public DisiWrapper top()
public DisiWrapper topList()
public DisiWrapper add(DisiWrapper entry)
public DisiWrapper pop()
public DisiWrapper updateTop()
public Iterator<DisiWrapper> iterator()
iterator
in interface Iterable<DisiWrapper>
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.