LongSparseArray.IndexOfValue(Object) Method

Definition

Returns an index for which #valueAt would return the specified key, or a negative number if no keys map to the specified value.

[Android.Runtime.Register("indexOfValue", "(Ljava/lang/Object;)I", "GetIndexOfValue_Ljava_lang_Object_Handler")]
public virtual int IndexOfValue (Java.Lang.Object? value);
[<Android.Runtime.Register("indexOfValue", "(Ljava/lang/Object;)I", "GetIndexOfValue_Ljava_lang_Object_Handler")>]
abstract member IndexOfValue : Java.Lang.Object -> int
override this.IndexOfValue : Java.Lang.Object -> int

Parameters

value
Object

Returns

Int32
Attributes

Remarks

Java documentation for android.util.LongSparseArray.indexOfValue(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