Java.Util.Concurrent.LinkedBlockingDeque Class
An optionally-bounded Java.Util.Concurrent.IBlockingDeque based on linked nodes.

See Also: LinkedBlockingDeque Members

Syntax

[Android.Runtime.Register("java/util/concurrent/LinkedBlockingDeque", DoNotGenerateAcw=true)]
public class LinkedBlockingDeque : Java.Util.AbstractQueue, Java.IO.ISerializable, IBlockingDeque, IDisposable

Remarks

An optionally-bounded Java.Util.Concurrent.IBlockingDeque based on linked nodes.

The optional capacity bound constructor argument serves as a way to prevent excessive expansion. The capacity, if unspecified, is equal to Java.Lang.Integer.MaxValue. Linked nodes are dynamically created upon each insertion unless this would bring the deque above capacity.

Most operations run in constant time (ignoring time spent blocking). Exceptions include LinkedBlockingDeque.remove(java.lang.Object), LinkedBlockingDeque.RemoveFirstOccurrence(Java.Lang.Object), LinkedBlockingDeque.RemoveLastOccurrence(Java.Lang.Object), LinkedBlockingDeque.contains(java.lang.Object), LinkedBlockingDeque.Iterator, and the bulk operations, all of which run in linear time.

This class and its iterator implement all of the optional methods of the Android.Runtime.JavaCollection and Java.Util.IIterator interfaces.

[Android Documentation]

Requirements

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