Język

ConcurrentSkipListMap.PutFirst(Object, Object) Method

Definition

Throws UnsupportedOperationException.

[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

the key

v
Object

the value

Returns

the value previously associated with k, or null if none

Attributes

Remarks

Throws UnsupportedOperationException. The encounter order induced by this map's comparison method determines the position of mappings, so explicit positioning is not supported.

Added in 21.

Java reference for java.util.concurrent.ConcurrentSkipListMap.putFirst.

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