LongSparseArray.Append(Int64, Object) Method

Definition

Puts a key/value pair into the array, optimizing for the case where the key is greater than all existing keys in the array.

[Android.Runtime.Register("append", "(JLjava/lang/Object;)V", "GetAppend_JLjava_lang_Object_Handler")]
public virtual void Append (long key, Java.Lang.Object? value);
[<Android.Runtime.Register("append", "(JLjava/lang/Object;)V", "GetAppend_JLjava_lang_Object_Handler")>]
abstract member Append : int64 * Java.Lang.Object -> unit
override this.Append : int64 * Java.Lang.Object -> unit

Parameters

key
Int64
value
Object
Attributes

Remarks

Puts a key/value pair into the array, optimizing for the case where the key is greater than all existing keys in the array.

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