ArrayBuilder

object ArrayBuilder

A companion object for array builders.

A companion object for array builders.

Companion
class
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.

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.

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.

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.

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.

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.

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.

final class ofRef[T <: AnyRef](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 Params
T

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

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.

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.

Value members

Concrete methods

def make[T](`evidence$1`: ClassTag[T]): ArrayBuilder[T]

Creates a new arraybuilder of type T.

Creates a new arraybuilder of type T.

Type Params
T

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

Returns

a new empty array builder.