LinkedTransferQueue Constructors

Definition

Overloads

LinkedTransferQueue()

Creates an initially empty LinkedTransferQueue.

LinkedTransferQueue(ICollection)

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

LinkedTransferQueue(IntPtr, JniHandleOwnership)

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

LinkedTransferQueue()

Creates an initially empty LinkedTransferQueue.

C#
[Android.Runtime.Register(".ctor", "()V", "")]
public LinkedTransferQueue ();
Attributes

Remarks

Creates an initially empty LinkedTransferQueue.

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

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

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

LinkedTransferQueue(ICollection)

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

C#
[Android.Runtime.Register(".ctor", "(Ljava/util/Collection;)V", "")]
public LinkedTransferQueue (System.Collections.ICollection? c);

Parameters

c
ICollection

the collection of elements to initially contain

Attributes

Remarks

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

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

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

LinkedTransferQueue(IntPtr, JniHandleOwnership)

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

C#
protected LinkedTransferQueue (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);

Parameters

javaReference
IntPtr

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

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35