Język

ConcurrentSkipListMap.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

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

Attributes

Remarks

Returns a key-value mapping associated with the greatest key in this map, or null if the map is empty. The returned entry does not support the Entry.setValue method.

Java reference for java.util.concurrent.ConcurrentSkipListMap.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