Class BucketPriorityQueue<B>

java.lang.Object
org.apache.lucene.util.PriorityQueue<B>
org.elasticsearch.search.aggregations.bucket.terms.BucketPriorityQueue<B>
All Implemented Interfaces:
Iterable<B>

public class BucketPriorityQueue<B> extends org.apache.lucene.util.PriorityQueue<B>
  • Constructor Details

    • BucketPriorityQueue

      public BucketPriorityQueue(int size, Comparator<? super B> comparator)
  • Method Details

    • lessThan

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