TreeSet.Last Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
the last (highest) element currently in this set
Implements
- Attributes
Exceptions
when this TreeSet is empty
Remarks
Java documentation for java.util.TreeSet.last().
Java reference 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.