Android Utililty Methods SparseBooleanArray Search

List of utility methods to do SparseBooleanArray Search


The list of methods to do SparseBooleanArray Search are organized into topic(s).


ListgetIndexesFromSparseBooleanArray( SparseBooleanArray array, boolean value)
Retrieves the existing integer indexes coming from provided SparseBooleanArray under which there is certain boolean value set.
List<Integer> result = new ArrayList<Integer>();
for (int i = 0; i < array.size(); i++) {
    if (array.valueAt(i) == value) {
return result;