Java org.apache.lucene.util PriorityQueue fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.util PriorityQueue fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.util PriorityQueue.

The text is from its open source code.

Subclass

org.apache.lucene.util.PriorityQueue has subclasses.
Click this link to see all its subclasses.

Field

intsize

Constructor

PriorityQueue
PriorityQueue(int maxSize)
Create an empty priority queue of the configured size.

Method

Tadd(T element)
Adds an Object to a PriorityQueue in log(size) time.
TinsertWithOverflow(T element)
Adds an Object to a PriorityQueue in log(size) time.
Tpop()
Removes and returns the least element of the PriorityQueue in log(size) time.
Ttop()
Returns the least element of the PriorityQueue in constant time.
TupdateTop()
Should be called when the Object at top changes values.