Język

ConcurrentSkipListMap.FirstEntry Method

Definition

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

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

Returns

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

Attributes

Remarks

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

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