Udostępnij za pośrednictwem


LruCache.Remove(Object) Method

Definition

Removes the entry for key if it exists.

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

Parameters

key
Object

Returns

the previous value mapped by key.

Attributes

Remarks

Removes the entry for key if it exists.

Java documentation for android.util.LruCache.remove(K).

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