SparseLongArray

Class of android.util · SparseLongArray.java · Android's reference

public class SparseLongArray implements Cloneable

longs by int key, in key order.

Constructors

public SparseLongArray() empty body source
public SparseLongArray(int capacity) source

Methods

public SparseLongArray clone() source
public long get(int key) source
public long get(int key, long def) source
public void delete(int key) source
public void removeAt(int index) source
public void put(int key, long value) source
public int size() source
public int keyAt(int index) source
public long valueAt(int index) source
public void setValueAt(int index, long value) source
public int indexOfKey(int key) source
public int indexOfValue(long value) source
public void clear() source
public void append(int key, long value) source
public int[] copyKeys() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.