ConcurrentLinkedDeque.AddFirst(Object) Method

Definition

Inserts the specified element at the front of this deque.

[Android.Runtime.Register("addFirst", "(Ljava/lang/Object;)V", "GetAddFirst_Ljava_lang_Object_Handler")]
public virtual void AddFirst (Java.Lang.Object? e);
[<Android.Runtime.Register("addFirst", "(Ljava/lang/Object;)V", "GetAddFirst_Ljava_lang_Object_Handler")>]
abstract member AddFirst : Java.Lang.Object -> unit
override this.AddFirst : Java.Lang.Object -> unit

Parameters

e
Object

Implements

Attributes

Remarks

Inserts the specified element at the front of this deque. As the deque is unbounded, this method will never throw IllegalStateException.

Java documentation for java.util.concurrent.ConcurrentLinkedDeque.addFirst(E).

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