Collections.SingletonMap(Object, Object) Method

Definition

[Android.Runtime.Register("singletonMap", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "K", "V" })]
public static System.Collections.IDictionary SingletonMap (Java.Lang.Object key, Java.Lang.Object value);
static member SingletonMap : Java.Lang.Object * Java.Lang.Object -> System.Collections.IDictionary

Parameters

key
Object
value
Object

Returns

IDictionary
Attributes

Remarks

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