TreeSet.First Method

Definition

Returns the first element in this set.

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

Returns

Implements

Attributes

Exceptions

when this TreeSet is empty

Remarks

Java documentation for java.util.TreeSet.first().

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