Share via


ISortedSet.Last Method

Definition

Returns the last (highest) element currently in this set.

[Android.Runtime.Register("last", "()Ljava/lang/Object;", "GetLastHandler:Java.Util.ISortedSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? Last ();
[<Android.Runtime.Register("last", "()Ljava/lang/Object;", "GetLastHandler:Java.Util.ISortedSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Last : unit -> Java.Lang.Object

Returns

the last (highest) element currently in this set

Attributes

Exceptions

when this SortedSet is empty.

Remarks

Returns the last (highest) element currently in this set.

Java documentation for java.util.SortedSet.last().

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