Dela via


ISortedMap.LastKey Method

Definition

Returns the last (highest) key currently in this map.

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

Returns

the last (highest) key currently in this map

Attributes

Exceptions

if this sorted map is empty.

Remarks

Returns the last (highest) key currently in this map.

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

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