次の方法で共有


LinkedList.Push(Object) Method

Definition

Pushes an element onto the stack represented by this list.

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

Parameters

e
Object

the element to push

Implements

Attributes

Remarks

Pushes an element onto the stack represented by this list. In other words, inserts the element at the front of this list.

This method is equivalent to #addFirst.

Added in 1.6.

Java documentation for java.util.LinkedList.push(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