Udostępnij za pośrednictwem


ISortedMap.FirstKey Method

Definition

Returns the first (lowest) key currently in this map.

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

Returns

the first (lowest) key currently in this map

Attributes

Exceptions

if this sorted map is empty.

Remarks

Returns the first (lowest) key currently in this map.

Java documentation for java.util.SortedMap.firstKey().

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