Aracılığıyla paylaş


Map.OfEntries(IMapEntry[]) Method

Definition

Caution

Use 'Java.Util.IMap.OfEntries'. This class will be removed in a future release.

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" })]
[System.Obsolete("Use 'Java.Util.IMap.OfEntries'. This class will be removed in a future release.")]
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" })>]
[<System.Obsolete("Use 'Java.Util.IMap.OfEntries'. This class will be removed in a future release.")>]
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