Freigeben über


TreeMap.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")]
public virtual Java.Util.IMapEntry? LastEntry ();
[<Android.Runtime.Register("lastEntry", "()Ljava/util/Map$Entry;", "GetLastEntryHandler")>]
abstract member LastEntry : unit -> Java.Util.IMapEntry
override this.LastEntry : unit -> Java.Util.IMapEntry

Returns

Implements

Attributes

Remarks

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