Share via


AbstractMap.SimpleEntry Constructors

Definition

Overloads

AbstractMap.SimpleEntry(IMapEntry)
AbstractMap.SimpleEntry(Object, Object)

Creates an entry representing a mapping from the specified key to the specified value.

AbstractMap.SimpleEntry(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

AbstractMap.SimpleEntry(IMapEntry)

[Android.Runtime.Register(".ctor", "(Ljava/util/Map$Entry;)V", "")]
public SimpleEntry (Java.Util.IMapEntry entry);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Map$Entry;)V", "")>]
new Java.Util.AbstractMap.SimpleEntry : Java.Util.IMapEntry -> Java.Util.AbstractMap.SimpleEntry

Parameters

entry
IMapEntry
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

AbstractMap.SimpleEntry(Object, Object)

Creates an entry representing a mapping from the specified key to the specified value.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Object;Ljava/lang/Object;)V", "")]
public SimpleEntry (Java.Lang.Object? key, Java.Lang.Object? value);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Object;Ljava/lang/Object;)V", "")>]
new Java.Util.AbstractMap.SimpleEntry : Java.Lang.Object * Java.Lang.Object -> Java.Util.AbstractMap.SimpleEntry

Parameters

key
Object

the key represented by this entry

value
Object

the value represented by this entry

Attributes

Remarks

Creates an entry representing a mapping from the specified key to the specified value.

Java documentation for java.util.AbstractMap.SimpleEntry.AbstractMap$SimpleEntry(K, V).

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

AbstractMap.SimpleEntry(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected SimpleEntry (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.AbstractMap.SimpleEntry : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.AbstractMap.SimpleEntry

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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