Sprache

CopyOnWriteArrayList.First Property

Definition

Gets the first element of this collection.

public virtual Java.Lang.Object? First { [Android.Runtime.Register("getFirst", "()Ljava/lang/Object;", "GetGetFirstHandler", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getFirst", "()Ljava/lang/Object;", "GetGetFirstHandler", ApiSince=35)>]
member this.First : Java.Lang.Object

Property Value

the retrieved element

Implements

Attributes

Remarks

Gets the first element of this collection.

Added in 21.

Java reference for java.util.concurrent.CopyOnWriteArrayList.getFirst.

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