An integer-indexed sparse array implementation, currently based on HashMap.
An integer-indexed sparse array implementation, currently based on HashMap.
Specialized for storing Ints, Longs and Doubles
Automatically materializes into a dense array when the number of non-default
values stored exceeds some threshold.
Probably not thread-safe due to lack of locking on materialization.
TODO: https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/ReadWriteLock.html
An integer-indexed sparse array implementation, currently based on HashMap. Specialized for storing Ints, Longs and Doubles Automatically materializes into a dense array when the number of non-default values stored exceeds some threshold. Probably not thread-safe due to lack of locking on materialization. TODO: https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/ReadWriteLock.html
the type of value being stored in the SparseArray