Compartilhar via


SparseLongArray.Append(Int32, Int64) 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", "(IJ)V", "GetAppend_IJHandler")]
public virtual void Append (int key, long value);
[<Android.Runtime.Register("append", "(IJ)V", "GetAppend_IJHandler")>]
abstract member Append : int * int64 -> unit
override this.Append : int * int64 -> unit

Parameters

key
Int32
value
Int64
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.SparseLongArray.append(int, long).

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