_methods
Array Extension Methods
Extension methods are universaly avaialble for all Array types.
- Source
- _methods.scala
Def
Shortcut to 'join'
Shortcut to 'join'
Copies base array to a new array with given element appended
- Source
- _methods.scala
Shortcut to 'joinAll'
Shortcut to 'joinAll'
Copies base array to a new array with given stream of elements appended
- Source
- _methods.scala
Shortcut to 'joinAllAt'
Shortcut to 'joinAllAt'
Copies base array to a new array with given stream of elements inserted at given position
- Source
- _methods.scala
Shortcut to 'joinAt'
Shortcut to 'joinAt'
Copies base array to a new array with given element inserted at given position
- Source
- _methods.scala
Contains check
Contains check
Returns true
if array contains equal value, `false - otherwise
- Source
- _methods.scala
Copy with new size
Copy with new size
Creates new Array of specified size (can be larger or smaller), with appropriate elements copied from base array
- Source
- _methods.scala
Copy to array
Copy to array
Copies base array elements to given array
Note. Efficient JVM System.arraycopy method is used
- Source
- _methods.scala
Copy to array
Copy to array
Copies base array elements to given array, starting at given position
Note. Efficient JVM System.arraycopy method is used
- Source
- _methods.scala
Copy to array
Copy to array
Copies base array elements to given array, starting at given 'pos'
'from' and 'size' specify base array range to be copied
Note. Efficient JVM System.arraycopy method is used
- Source
- _methods.scala
Drop range
Drop range
Copies base array to a new array without elements of specified range
- Source
- _methods.scala
Drop range
Drop range
Copies base array to a new array without elements of specified range
- Source
- _methods.scala
Fill range with value
Fill range with value
Assigns given value to base array positions within given range
- Source
- _methods.scala
Fill range with value
Fill range with value
Assigns given value to base array positions within given range
- Source
- _methods.scala
Join element
Join element
Copies base array to a new array with given element appended
- Source
- _methods.scala
Join multiple elements
Join multiple elements
Copies base array to a new array with given stream of elements appended
- Source
- _methods.scala
Join multiple elements at position
Join multiple elements at position
Copies base array to a new array with given stream of elements inserted at given position
- Source
- _methods.scala
Join element at position
Join element at position
Copies base array to a new array with given element inserted at given position
- Source
- _methods.scala
New Array
New Array
Creates new empty array of the same type as base array, but with given size
- Source
- _methods.scala
Sized stream
Sized stream
Returns stream of array elements limited to given size
- Source
- _methods.scala