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

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

Introduction

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

The text is from its open source code.

Subclass

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

Field

intsize

Constructor

Method

booleaninsert(T element)
Adds element to the PriorityQueue in log(size) time if either the PriorityQueue is not full, or not lessThan(element, top()).
Tpop()
Removes and returns the least element of the PriorityQueue in log(size) time.
voidput(T element)
Adds an Object to a PriorityQueue in log(size) time.
Ttop()
Returns the least element of the PriorityQueue in constant time.