ArrayOps

object ArrayOps
Array modifications helper.
class Object
trait Matchable
class Any

Value members

Methods

final def copyOf[K](array: Array[K], newLength: Int): Array[K]
Makes a copy of an array with new length.
final def copyMapOf[K, T](from: Int, to: Int, array: Array[K], map: K => T): Array[T]
Makes a copy of a portions of an array with elements mapped.
Does not require ClassTag instance.
final def newArray[T](exampleItem: T, length: Int): Array[T]
Creates a new array based on the type of the example item provided.
Does not require ClassTag instance.