Sdílet prostřednictvím


AbstractMap.SimpleImmutableEntry Constructors

Definition

Overloads

AbstractMap.SimpleImmutableEntry(IMapEntry)
AbstractMap.SimpleImmutableEntry(Object, Object)

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

AbstractMap.SimpleImmutableEntry(IntPtr, JniHandleOwnership)

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

AbstractMap.SimpleImmutableEntry(IMapEntry)

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

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.SimpleImmutableEntry(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 SimpleImmutableEntry (Java.Lang.Object? key, Java.Lang.Object? value);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Object;Ljava/lang/Object;)V", "")>]
new Java.Util.AbstractMap.SimpleImmutableEntry : Java.Lang.Object * Java.Lang.Object -> Java.Util.AbstractMap.SimpleImmutableEntry

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.SimpleImmutableEntry.AbstractMap$SimpleImmutableEntry(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.SimpleImmutableEntry(IntPtr, JniHandleOwnership)

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

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

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