Share via


LinkedList.Last Property

Definition

Returns the last element in this list.

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

Property Value

the last element in this list

Implements

Attributes

Exceptions

if this LinkedList is empty

Remarks

Returns the last element in this list.

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

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