to Typed Array
Copies an iterable's elements into an array.
Return
a newly-allocated array into which all the elements of the iterable have been copied
See also
Parameters
T
the type of the elements
Copies an iterator's elements into an array. The iterator will be left exhausted: its hasNext method will return false.
Return
a newly-allocated array into which all the elements of the iterator have been copied
See also
Parameters
T
the type of the elements