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

Implements

Attributes

Remarks

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