ISequencedMap.PutLast(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts the given mapping into the map if it is not already present, or replaces the value of a mapping if it is already present (optional operation).
[Android.Runtime.Register("putLast", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "GetPutLast_Ljava_lang_Object_Ljava_lang_Object_Handler:Java.Util.ISequencedMap, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual Java.Lang.Object? PutLast (Java.Lang.Object? k, Java.Lang.Object? v);
[<Android.Runtime.Register("putLast", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "GetPutLast_Ljava_lang_Object_Ljava_lang_Object_Handler:Java.Util.ISequencedMap, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member PutLast : Java.Lang.Object * Java.Lang.Object -> Java.Lang.Object
override this.PutLast : 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
Inserts the given mapping into the map if it is not already present, or replaces the value of a mapping if it is already present (optional operation). After this operation completes normally, the given mapping will be present in this map, and it will be the last mapping in this map's encounter order.
Java documentation for java.util.SequencedMap.putLast(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.