Apache Lucene.Net 2.4.0 Class Library API

PriorityQueue.Insert Method 

Adds element to the PriorityQueue in log(size) time if either the PriorityQueue is not full, or not lessThan(element, top()).

public virtual bool Insert(
   object element
);

Parameters

element

Return Value

true if element is added, false otherwise.

See Also

PriorityQueue Class | Lucene.Net.Util Namespace