ISequencedCollection.GetLast Method

Definition

Gets the last element of this collection.

[Android.Runtime.Register("getLast", "()Ljava/lang/Object;", "GetGetLastHandler:Java.Util.ISequencedCollection, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual Java.Lang.Object? GetLast ();
[<Android.Runtime.Register("getLast", "()Ljava/lang/Object;", "GetGetLastHandler:Java.Util.ISequencedCollection, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member GetLast : unit -> Java.Lang.Object
override this.GetLast : unit -> Java.Lang.Object

Returns

the retrieved element

Attributes

Remarks

Gets the last element of this collection.

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