Method Add
Add(T)
Adds an Object to a PriorityQueue<T> in log(size) time. If one tries to add
more objects than Lucene.Net.Util.PriorityQueue`1.maxSize from initialize and it is not possible to resize
the heap, an
Declaration
public T Add(T element)
Parameters
Type | Name | Description |
---|---|---|
T | element |
Returns
Type | Description |
---|---|
T | The new 'top' element in the queue. |