Language

ConcurrentSkipListMap.PollFirstEntry Method

Definition

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

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

Returns

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

Attributes

Remarks

Removes and returns a key-value mapping associated with the least 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.pollFirstEntry.

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