LinkedList 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
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
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
- 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.