Java.Util.Concurrent.PriorityBlockingQueue: Method Members

The methods of Java.Util.Concurrent.PriorityBlockingQueue are listed below. For a list of all members, see the PriorityBlockingQueue Members list.

See Also: Inherited members from Java.Util.AbstractQueue

Public Methods

Comparator() : Java.Util.IComparator
Returns the comparator used to order the elements in this queue, or null if this queue uses the Java.Lang.IComparable of its elements.
DrainTo(ICollection) : int
Documentation for this section has not yet been entered.
DrainTo(ICollection, int) : int
Documentation for this section has not yet been entered.
override
Iterator() : Java.Util.IIterator
Returns an iterator over the elements in this queue.
override
Offer(Java.Lang.Object) : bool
Documentation for this section has not yet been entered.
Offer(Java.Lang.Object, long, TimeUnit) : bool
Documentation for this section has not yet been entered.
override
Peek() : Java.Lang.Object
Retrieves, but does not remove, the head of this queue, or returns null if this queue is empty.
override
Poll() : Java.Lang.Object
Retrieves and removes the head of this queue, or returns null if this queue is empty.
Poll(long, TimeUnit) : Java.Lang.Object
Retrieves and removes the head of this queue, waiting up to the specified wait time if necessary for an element to become available.
Put(Java.Lang.Object)
Documentation for this section has not yet been entered.
RemainingCapacity() : int
Always returns Integer.MAX_VALUE because a PriorityBlockingQueue is not capacity constrained.
override
Size() : int
Returns a count of how many objects this Collection contains.
Take() : Java.Lang.Object
Retrieves and removes the head of this queue, waiting if necessary until an element becomes available.