SparseFloatArray

constructor()

Creates a new SparseFloatArray containing no mappings.


constructor(initialCapacity: Int)

Creates a new SparseFloatArray containing no mappings that will not require any additional memory allocation to store the specified number of mappings. If you supply an initial capacity of 0, the sparse array will be initialized with a light-weight representation not requiring any additional array allocations.