Java.Util.AbstractQueue Class
This class provides skeletal implementations of some Java.Util.IQueue operations.

See Also: AbstractQueue Members

Syntax

[Android.Runtime.Register("java/util/AbstractQueue", DoNotGenerateAcw=true)]
public abstract class AbstractQueue : AbstractCollection, IQueue, IDisposable

Remarks

This class provides skeletal implementations of some Java.Util.IQueue operations. The implementations in this class are appropriate when the base implementation does not allow null elements. Methods AbstractQueue.add(E), AbstractQueue.Remove, and AbstractQueue.Element are based on IQueue.offer(E), IQueue.Poll, and IQueue.Peek, respectively, but throw exceptions instead of indicating failure via false or null returns.

A Queue implementation that extends this class must minimally define a method IQueue.offer(E) which does not permit insertion of null elements, along with methods IQueue.Peek, IQueue.Poll, Android.Runtime.JavaCollection.size(), and Android.Runtime.JavaCollection.iterator(). Typically, additional methods will be overridden as well. If these requirements cannot be met, consider instead subclassing Java.Util.AbstractCollection.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1