ConcurrentLinkedQueue Constructors

Definition

Overloads

ConcurrentLinkedQueue()

Creates a ConcurrentLinkedQueue that is initially empty.

ConcurrentLinkedQueue(ICollection)

Creates a ConcurrentLinkedQueue initially containing the elements of the given collection, added in traversal order of the collection's iterator.

ConcurrentLinkedQueue(IntPtr, JniHandleOwnership)

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

ConcurrentLinkedQueue()

Creates a ConcurrentLinkedQueue that is initially empty.

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

Remarks

Creates a ConcurrentLinkedQueue that is initially empty.

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

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

ConcurrentLinkedQueue(ICollection)

Creates a ConcurrentLinkedQueue 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 ConcurrentLinkedQueue (System.Collections.ICollection? c);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Collection;)V", "")>]
new Java.Util.Concurrent.ConcurrentLinkedQueue : System.Collections.ICollection -> Java.Util.Concurrent.ConcurrentLinkedQueue

Parameters

c
ICollection

the collection of elements to initially contain

Attributes

Remarks

Creates a ConcurrentLinkedQueue initially containing the elements of the given collection, added in traversal order of the collection's iterator.

Java documentation for java.util.concurrent.ConcurrentLinkedQueue.ConcurrentLinkedQueue(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

ConcurrentLinkedQueue(IntPtr, JniHandleOwnership)

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

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

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