Język

ConcurrentSkipListMap.PollLastEntry Method

Definition

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

[Android.Runtime.Register("pollLastEntry", "()Ljava/util/Map$Entry;", "GetPollLastEntryHandler")]
public virtual Java.Util.IMapEntry? PollLastEntry();
[<Android.Runtime.Register("pollLastEntry", "()Ljava/util/Map$Entry;", "GetPollLastEntryHandler")>]
abstract member PollLastEntry : unit -> Java.Util.IMapEntry
override this.PollLastEntry : unit -> Java.Util.IMapEntry

Returns

the removed last entry of this map, or null if this map is empty

Attributes

Remarks

Removes and 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.pollLastEntry.

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