Top "Sparse-array" questions

A sparse matrix is a data structure in which not every entry is explicitly represented.

Sparse matrices / arrays in Java

I'm working on a project, written in Java, which requires that I build a very large 2-D sparse array. Very …

java algorithm sparse-matrix sparse-array
javascript sort sparse array keep indexes

What is the best method to sort a sparse array and keep the elements on the same indexes? For example: …

javascript sorting sparse-array
Decode sparse json object to php array

I can create a sparse php array (or map) using the command: $myarray = array(10=>'hi','test20'=>'howdy'); …

php map json sparse-array
SparseArray, check if key exists

I was implementing a Bitmap cache using a HashMap<Integer, Bitmap> and received the following warning in Eclipse: …

java android hashmap sparse-array
Android SparseArray with String key?

I need to use a hashmap to store key / values in my Android app (potentially thousands), but I understand that …

android string memory-management key sparse-array
Best way to store SparseBooleanArray in Bundle?

When a config change happens, my ListView Checkbox states get lost, which I understand why. I try to implement public …

android methods onconfigurationchanged sparse-array