TreeSet.Last Method

Definition

Returns the last element in this set.

[Android.Runtime.Register("last", "()Ljava/lang/Object;", "GetLastHandler")]
public virtual Java.Lang.Object? Last ();
[<Android.Runtime.Register("last", "()Ljava/lang/Object;", "GetLastHandler")>]
abstract member Last : unit -> Java.Lang.Object
override this.Last : unit -> Java.Lang.Object

Returns

Implements

Attributes

Exceptions

when this TreeSet is empty

Remarks

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