Java.Util.Concurrent.PriorityBlockingQueue Members

The members of Java.Util.Concurrent.PriorityBlockingQueue are listed below.

See Also: Inherited members from Java.Util.AbstractQueue

Public Constructors

Creates a PriorityBlockingQueue with the default initial capacity (11) that orders its elements according to their Java.Lang.IComparable.
Documentation for this section has not yet been entered.
Creates a PriorityBlockingQueue with the specified initial capacity that orders its elements according to their Java.Lang.IComparable.
Documentation for this section has not yet been entered.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

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.