LinkedBlockingDeque Constructors

Definition

Overloads

LinkedBlockingDeque()

Creates a LinkedBlockingDeque with a capacity of Integer#MAX_VALUE.

LinkedBlockingDeque(ICollection)

Creates a LinkedBlockingDeque with a capacity of Integer#MAX_VALUE, initially containing the elements of the given collection, added in traversal order of the collection's iterator.

LinkedBlockingDeque(Int32)

Creates a LinkedBlockingDeque with the given (fixed) capacity.

LinkedBlockingDeque(IntPtr, JniHandleOwnership)

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

LinkedBlockingDeque()

Creates a LinkedBlockingDeque with a capacity of Integer#MAX_VALUE.

[Android.Runtime.Register(".ctor", "()V", "")]
public LinkedBlockingDeque ();
Attributes

Remarks

Creates a LinkedBlockingDeque with a capacity of Integer#MAX_VALUE.

Java documentation for java.util.concurrent.LinkedBlockingDeque.LinkedBlockingDeque().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

LinkedBlockingDeque(ICollection)

Creates a LinkedBlockingDeque with a capacity of Integer#MAX_VALUE, initially containing the elements of the given collection, added in traversal order of the collection's iterator.

[Android.Runtime.Register(".ctor", "(Ljava/util/Collection;)V", "")]
public LinkedBlockingDeque (System.Collections.ICollection? c);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Collection;)V", "")>]
new Java.Util.Concurrent.LinkedBlockingDeque : System.Collections.ICollection -> Java.Util.Concurrent.LinkedBlockingDeque

Parameters

c
ICollection

the collection of elements to initially contain

Attributes

Remarks

Creates a LinkedBlockingDeque with a capacity of Integer#MAX_VALUE, initially containing the elements of the given collection, added in traversal order of the collection's iterator.

Java documentation for java.util.concurrent.LinkedBlockingDeque.LinkedBlockingDeque(java.util.Collection<? extends E>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

LinkedBlockingDeque(Int32)

Creates a LinkedBlockingDeque with the given (fixed) capacity.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public LinkedBlockingDeque (int capacity);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Java.Util.Concurrent.LinkedBlockingDeque : int -> Java.Util.Concurrent.LinkedBlockingDeque

Parameters

capacity
Int32

the capacity of this deque

Attributes

Exceptions

if capacity is less than 1

Remarks

Creates a LinkedBlockingDeque with the given (fixed) capacity.

Java documentation for java.util.concurrent.LinkedBlockingDeque.LinkedBlockingDeque(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

LinkedBlockingDeque(IntPtr, JniHandleOwnership)

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

protected LinkedBlockingDeque (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.LinkedBlockingDeque : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.LinkedBlockingDeque

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to