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
Convert one datum from the underlying type to the ScalarArray's type.
Convert one datum from the underlying type to the ScalarArray's type. Since for primitive scalars, the underlying data type is the same as the array's data type, the input value is returned unchanged.
a value of this array's data type
the value, unchanged
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 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
the actual raw data contained in the array
the actual raw data contained in the array
Returns the length of the data array.
Returns the length of the data array. This is an alias for ScalarArray#length
A ScalarArray containing data of a native primitive data type.
the type of the contained data.