Share via


LinkedList Constructors

Definition

Overloads

LinkedList()

Constructs an empty list.

LinkedList(ICollection)

Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.

LinkedList(IntPtr, JniHandleOwnership)

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

LinkedList()

Constructs an empty list.

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

Remarks

Constructs an empty list.

Java documentation for java.util.LinkedList.LinkedList().

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

LinkedList(ICollection)

Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.

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

Parameters

c
ICollection

the collection whose elements are to be placed into this list

Attributes

Remarks

Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.

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

LinkedList(IntPtr, JniHandleOwnership)

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

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

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