ConcurrentLinkedDeque.RemoveLastOccurrence(Object) Method

Definition

Removes the last occurrence of the specified element from this deque.

[Android.Runtime.Register("removeLastOccurrence", "(Ljava/lang/Object;)Z", "GetRemoveLastOccurrence_Ljava_lang_Object_Handler")]
public virtual bool RemoveLastOccurrence (Java.Lang.Object? o);
[<Android.Runtime.Register("removeLastOccurrence", "(Ljava/lang/Object;)Z", "GetRemoveLastOccurrence_Ljava_lang_Object_Handler")>]
abstract member RemoveLastOccurrence : Java.Lang.Object -> bool
override this.RemoveLastOccurrence : Java.Lang.Object -> bool

Parameters

o
Object

element to be removed from this deque, if present

Returns

Boolean

true if the deque contained the specified element

Implements

Attributes

Exceptions

if the specified element is null

Remarks

Java documentation for java.util.concurrent.ConcurrentLinkedDeque.removeLastOccurrence(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