Freigeben über


ConcurrentHashMap.Remove(Object, Object) Method

Definition

To be added

[Android.Runtime.Register("remove", "(Ljava/lang/Object;Ljava/lang/Object;)Z", "GetRemove_Ljava_lang_Object_Ljava_lang_Object_Handler")]
public virtual bool Remove (Java.Lang.Object key, Java.Lang.Object? value);
[<Android.Runtime.Register("remove", "(Ljava/lang/Object;Ljava/lang/Object;)Z", "GetRemove_Ljava_lang_Object_Ljava_lang_Object_Handler")>]
override this.Remove : Java.Lang.Object * Java.Lang.Object -> bool

Parameters

key
Object

the key that needs to be removed

value
Object

value expected to be associated with the specified key

Returns

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

Implements

Attributes

Exceptions

if the specified key is null

Remarks

To be added

Java documentation for java.util.concurrent.ConcurrentHashMap.remove(java.lang.Object, java.lang.Object).

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