Class of android.util · LongSparseArray.java · Android's reference
public class LongSparseArray<E> implements Cloneable
Objects by long key, in key order.
public LongSparseArray() empty body sourcepublic LongSparseArray(int capacity) sourcepublic E get(long key) sourcepublic E get(long key, E def) sourcepublic void delete(long key) sourcepublic void remove(long key) sourcepublic void removeAt(int index) sourcepublic void put(long key, E value) sourcepublic int size() sourcepublic long keyAt(int index) sourcepublic E valueAt(int index) sourcepublic void setValueAt(int index, E value) sourcepublic int indexOfValue(E value) sourcepublic int indexOfKey(long key) sourcepublic void clear() sourcepublic void append(long key, E value) sourceMade 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.