Class BucketPriorityQueue<B extends Terms.Bucket>

  • All Implemented Interfaces:
    java.lang.Iterable<B>

    public class BucketPriorityQueue<B extends Terms.Bucket>
    extends org.apache.lucene.util.PriorityQueue<B>
    • Constructor Summary

      Constructors 
      Constructor Description
      BucketPriorityQueue​(int size, java.util.Comparator<? super B> comparator)  
    • Method Summary

      Modifier and Type Method Description
      protected boolean lessThan​(B a, B b)  
      • Methods inherited from class org.apache.lucene.util.PriorityQueue

        add, 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 Detail

      • BucketPriorityQueue

        public BucketPriorityQueue​(int size,
                                   java.util.Comparator<? super B> comparator)
    • Method Detail

      • lessThan

        protected boolean lessThan​(B a,
                                   B b)
        Specified by:
        lessThan in class org.apache.lucene.util.PriorityQueue<B extends Terms.Bucket>