LinkedList.First Property

Definition

Returns the first element in this list.

public virtual Java.Lang.Object? First { [Android.Runtime.Register("getFirst", "()Ljava/lang/Object;", "GetGetFirstHandler")] get; }
[<get: Android.Runtime.Register("getFirst", "()Ljava/lang/Object;", "GetGetFirstHandler")>]
member this.First : Java.Lang.Object

Property Value

the first element in this list

Implements

Attributes

Exceptions

if this LinkedList is empty.

Remarks

Returns the first element in this list.

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

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