Taal

AbstractMap.Remove(Object) Method

Definition

Removes the mapping for a key from this map if it is present (optional operation).

[Android.Runtime.Register("remove", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetRemove_Ljava_lang_Object_Handler")]
public virtual Java.Lang.Object? Remove(Java.Lang.Object? key);
[<Android.Runtime.Register("remove", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetRemove_Ljava_lang_Object_Handler")>]
abstract member Remove : Java.Lang.Object -> Java.Lang.Object
override this.Remove : Java.Lang.Object -> Java.Lang.Object

Parameters

key
Object

the key of the mapping to remove.

Returns

the previous value associated with key, or null if there was no mapping for key.

Implements

Attributes

Remarks

Java documentation for java.util.AbstractMap.remove(java.lang.Object).

Java reference for java.util.AbstractMap.remove.

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