ArrayBuilder

object ArrayBuilder

A companion object for array builders.

class Object
trait Matchable
class Any

Type members

Classlikes

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. It can be reused.

final class ofChar extends ArrayBuilder[Char]

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. It can be reused.

final class ofFloat extends ArrayBuilder[Float]

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. It can be reused.

final class ofLong extends ArrayBuilder[Long]

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.

This builder can be reused.

Type Params
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. It can be reused.

final class ofUnit extends ArrayBuilder[Unit]

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.

Type Params
T

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

Returns

a new empty array builder.

Source
ArrayBuilder.scala