ArrayBuilder

A companion object for array builders.

Companion:
class
Source:
ArrayBuilder.scala
class Object
trait Matchable
class Any

Type members

Classlikes

A class for array builders for arrays of booleans.

A class for array builders for arrays of booleans. It can be reused.

Source:
ArrayBuilder.scala
final class ofByte extends ArrayBuilder[Byte]

A class for array builders for arrays of bytes.

A class for array builders for arrays of bytes. It can be reused.

Source:
ArrayBuilder.scala
final class ofChar extends ArrayBuilder[Char]

A class for array builders for arrays of chars.

A class for array builders for arrays of chars. It can be reused.

Source:
ArrayBuilder.scala
final class ofDouble extends ArrayBuilder[Double]

A class for array builders for arrays of doubles.

A class for array builders for arrays of doubles. It can be reused.

Source:
ArrayBuilder.scala
final class ofFloat extends ArrayBuilder[Float]

A class for array builders for arrays of floats.

A class for array builders for arrays of floats. It can be reused.

Source:
ArrayBuilder.scala
final class ofInt extends ArrayBuilder[Int]

A class for array builders for arrays of ints.

A class for array builders for arrays of ints. It can be reused.

Source:
ArrayBuilder.scala
final class ofLong extends ArrayBuilder[Long]

A class for array builders for arrays of longs.

A class for array builders for arrays of longs. It can be reused.

Source:
ArrayBuilder.scala
final class ofRef[T <: AnyRef](implicit ct: ClassTag[T]) extends ArrayBuilder[T]

A class for array builders for arrays of reference types.

A class for array builders for arrays of reference types.

This builder can be reused.

Type parameters:
T

type of elements for the array builder, subtype of AnyRef with a ClassTag context bound.

Source:
ArrayBuilder.scala
final class ofShort extends ArrayBuilder[Short]

A class for array builders for arrays of shorts.

A class for array builders for arrays of shorts. It can be reused.

Source:
ArrayBuilder.scala
final class ofUnit extends ArrayBuilder[Unit]

A class for array builders for arrays of Unit type.

A class for array builders for arrays of Unit type. It can be reused.

Source:
ArrayBuilder.scala

Value members

Concrete methods

Creates a new arraybuilder of type T.

Creates a new arraybuilder of type T.

Type parameters:
T

type of the elements for the array builder, with a ClassTag context bound.

Returns:

a new empty array builder.

Source:
ArrayBuilder.scala