LinkedBlockingDeque Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| LinkedBlockingDeque() |
Creates a |
| LinkedBlockingDeque(ICollection) |
Creates a |
| LinkedBlockingDeque(Int32) |
Creates a |
| 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
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.
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
- 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.