共用方式為


IMap.Entry(Object, Object) Method

Definition

Returns an immutable Entry containing the given key and value.

[Android.Runtime.Register("entry", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map$Entry;", "", ApiSince=30)]
[Java.Interop.JavaTypeParameters(new System.String[] { "K", "V" })]
public static Java.Util.IMapEntry Entry (Java.Lang.Object k, Java.Lang.Object v);
[<Android.Runtime.Register("entry", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map$Entry;", "", ApiSince=30)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "K", "V" })>]
static member Entry : Java.Lang.Object * Java.Lang.Object -> Java.Util.IMapEntry

Parameters

k
Object

the key

v
Object

the value

Returns

an Entry containing the specified key and value

Attributes

Remarks

Java documentation for java.util.Map.entry(java.lang.Object, java.lang.Object).

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