Searched defs:PriorityQueue (Results 1 - 1 of 1) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DPriorityQueue.java20 /** A PriorityQueue maintains a partial ordering of its elements such that the
29 public abstract class PriorityQueue<T> { class
59 * PriorityQueue<MyObject> pq = new MyQueue<MyObject>(numHits);
123 * Adds an Object to a PriorityQueue in log(size) time. If one tries to add
137 * Adds an Object to a PriorityQueue in log(size) time.
160 /** Returns the least element of the PriorityQueue in constant time. */
168 /** Removes and returns the least element of the PriorityQueue in log(size)
206 /** Returns the number of elements currently stored in the PriorityQueue. */
211 /** Removes all entries from the PriorityQueue. */

Completed in 27 milliseconds