Share via


ISortedSet.First Method

Definition

Returns the first (lowest) element currently in this set.

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

Returns

the first (lowest) element currently in this set

Attributes

Exceptions

when this SortedSet is empty.

Remarks

Returns the first (lowest) element currently in this set.

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