SparseIntArray

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

public class SparseIntArray implements Cloneable

ints by int key, in key order.

Constructors

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

Methods

public SparseIntArray clone() source
public int get(int key) source
public int get(int key, int def) source
public void delete(int key) source
public void removeAt(int index) source
public void put(int key, int value) source
public int size() source
public int keyAt(int index) source
public int valueAt(int index) source
public void setValueAt(int index, int value) source
public int indexOfKey(int key) source
public int indexOfValue(int value) source
public void clear() source
public void append(int key, int 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.