CopyOnWriteArrayList.IndexOf CopyOnWriteArrayList.IndexOf Method

Definition

Overloads

IndexOf(Object) IndexOf(Object)

Searches this List for the specified object and returns the index of the first occurrence.

IndexOf(Object, Int32) IndexOf(Object, Int32)

IndexOf(Object) IndexOf(Object)

Searches this List for the specified object and returns the index of the first occurrence.

[Android.Runtime.Register("indexOf", "(Ljava/lang/Object;)I", "GetIndexOf_Ljava_lang_Object_Handler")]
public virtual int IndexOf (Java.Lang.Object o);
abstract member IndexOf : Java.Lang.Object -> int
override this.IndexOf : Java.Lang.Object -> int

Parameters

Returns

Implements

Remarks

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.

IndexOf(Object, Int32) IndexOf(Object, Int32)

[Android.Runtime.Register("indexOf", "(Ljava/lang/Object;I)I", "GetIndexOf_Ljava_lang_Object_IHandler")]
public virtual int IndexOf (Java.Lang.Object e, int index);
abstract member IndexOf : Java.Lang.Object * int -> int
override this.IndexOf : Java.Lang.Object * int -> int

Parameters

index
Int32 Int32

Returns

Remarks

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