Class SpanDisiPriorityQueue

java.lang.Object
org.apache.lucene.queries.spans.SpanDisiPriorityQueue
All Implemented Interfaces:
Iterable<SpanDisiWrapper>

final class SpanDisiPriorityQueue extends Object implements Iterable<SpanDisiWrapper>
A priority queue of DocIdSetIterators that orders by current doc ID. This specialization is needed over PriorityQueue because the pluggable comparison function makes the rebalancing quite slow.