Array

object Array
class java.lang.Object
trait scala.Matchable
class Any

Member

trait _methods

Array Extension Methods

Extension methods are universaly avaialble for all Array types.

Source
_methods.scala

Def

inline def apply[A <: Any.Primitive.Type](v: A, vs: A*)(using sp: Specialized.Primitive[A]): s.Array
Source
__.scala
inline def apply[A](xs: A*)(using t: scala.reflect.ClassTag[A]): Array[A]
Source
__.scala
inline def emptyAnyRef: Array[AnyRef]

Empty Object array

Empty Object array

Returns singleton scala.Array.emptyObjectArray

Source
__.scala
inline def emptyBoolean: Array[Boolean]

Empty Boolean array

Empty Boolean array

Returns singleton scala.Array.emptyBooleanArray

Source
__.scala
inline def emptyByte: Array[Byte]

Empty Byte array

Empty Byte array

Returns singleton scala.Array.emptyByteArray

Source
__.scala
inline def emptyChar: Array[Char]

Empty Char array

Empty Char array

Returns singleton scala.Array.emptyCharArray

Source
__.scala
inline def emptyDouble: Array[Double]

Empty Double array

Empty Double array

Returns singleton scala.Array.emptyDoubleArray

Source
__.scala
inline def emptyFloat: Array[Float]

Empty Float array

Empty Float array

Returns singleton scala.Array.emptyFloatArray

Source
__.scala
inline def emptyInt: Array[Int]

Empty Int array

Empty Int array

Returns singleton scala.Array.emptyIntArray

Source
__.scala
inline def emptyLong: Array[Long]

Empty Long array

Empty Long array

Returns singleton scala.Array.emptyLongArray

Source
__.scala
inline def emptyShort: Array[Short]

Empty Short array

Empty Short array

Returns singleton scala.Array.emptyShortArray

Source
__.scala