Compartilhar via


LinkedHashMap.PutFirst(Object, Object) Method

Definition

To be added

[Android.Runtime.Register("putFirst", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "GetPutFirst_Ljava_lang_Object_Ljava_lang_Object_Handler", ApiSince=35)]
public virtual Java.Lang.Object? PutFirst (Java.Lang.Object? k, Java.Lang.Object? v);
[<Android.Runtime.Register("putFirst", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "GetPutFirst_Ljava_lang_Object_Ljava_lang_Object_Handler", ApiSince=35)>]
abstract member PutFirst : Java.Lang.Object * Java.Lang.Object -> Java.Lang.Object
override this.PutFirst : Java.Lang.Object * Java.Lang.Object -> Java.Lang.Object

Parameters

k
Object
v
Object

Returns

Implements

Attributes

Remarks

To be added

If this map already contains a mapping for this key, the mapping is relocated if necessary so that it is first in encounter order.

Added in 21.

Java documentation for java.util.LinkedHashMap.putFirst(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