IMap.OfEntries(IMapEntry[]) Method

Definition

Returns an immutable map containing keys and values extracted from the given entries.

[Android.Runtime.Register("ofEntries", "([Ljava/util/Map$Entry;)Ljava/util/Map;", "", ApiSince=30)]
[Java.Interop.JavaTypeParameters(new System.String[] { "K", "V" })]
public static System.Collections.IDictionary OfEntries (params Java.Util.IMapEntry[] entries);
[<Android.Runtime.Register("ofEntries", "([Ljava/util/Map$Entry;)Ljava/util/Map;", "", ApiSince=30)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "K", "V" })>]
static member OfEntries : Java.Util.IMapEntry[] -> System.Collections.IDictionary

Parameters

entries
IMapEntry[]

Map.Entrys containing the keys and values from which the map is populated

Returns

a Map containing the specified mappings

Attributes

Remarks

Java documentation for java.util.Map.ofEntries(java.util.Entry).

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