共用方式為


INavigableMap.LastEntry Method

Definition

Returns a key-value mapping associated with the greatest key in this map, or null if the map is empty.

[Android.Runtime.Register("lastEntry", "()Ljava/util/Map$Entry;", "GetLastEntryHandler:Java.Util.INavigableMapInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Util.IMapEntry? LastEntry ();
[<Android.Runtime.Register("lastEntry", "()Ljava/util/Map$Entry;", "GetLastEntryHandler:Java.Util.INavigableMapInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member LastEntry : unit -> Java.Util.IMapEntry

Returns

an entry with the greatest key, or null if this map is empty

Attributes

Remarks

Java documentation for java.util.NavigableMap.lastEntry().

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