Returns the index
th element of the array
Returns the index
th element of the array
the index of the value to return
the value at index index
Returns an iterator over the array's values.
Returns an iterator over the array's values.
an iterator over the array's values.
Returns the length of the data array.
Returns the length of the data array.
the length of the data array
Maps this ScalarArray to another ScalarArray using the given mapping function
Maps this ScalarArray to another ScalarArray using the given mapping function
the type of the values of the resulting ScalarArray
the mapping function to use
a new ScalarArray whose values correspond to the values of this instance, mapped by the function f
Determines if index
lies within the bounds of the array
Determines if index
lies within the bounds of the array
the index in the array for which to check if it lies within the array bounds
true
if index
lies within the array bounds, false
otherwise.
Returns the length of the data array.
Returns the length of the data array. This is an alias for ScalarArray#length
Class representing an array of scalar data. Only a subset of the array and generic collections operations is supported, and the data should be treated as immutable. For instance, data values can be accessed by index, but not updated.
the type of the contained data.