ArrayBuilder

scala.collection.mutable.ArrayBuilder
See theArrayBuilder companion class
object ArrayBuilder

A companion object for array builders.

Attributes

Companion
class
Source
ArrayBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class ofBoolean extends ArrayBuilder[Boolean]

A class for array builders for arrays of booleans.

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

Attributes

Source
ArrayBuilder.scala
Supertypes
trait Serializable
trait Growable[Boolean]
trait Clearable
class Object
trait Matchable
class Any
Show all
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.

Attributes

Source
ArrayBuilder.scala
Supertypes
trait Serializable
trait Builder[Byte, Array[Byte]]
trait Growable[Byte]
trait Clearable
class Object
trait Matchable
class Any
Show all
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.

Attributes

Source
ArrayBuilder.scala
Supertypes
trait Serializable
trait Builder[Char, Array[Char]]
trait Growable[Char]
trait Clearable
class Object
trait Matchable
class Any
Show all
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.

Attributes

Source
ArrayBuilder.scala
Supertypes
trait Serializable
trait Growable[Double]
trait Clearable
class Object
trait Matchable
class Any
Show all
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.

Attributes

Source
ArrayBuilder.scala
Supertypes
trait Serializable
trait Growable[Float]
trait Clearable
class Object
trait Matchable
class Any
Show all
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.

Attributes

Source
ArrayBuilder.scala
Supertypes
class ArrayBuilder[Int]
trait Serializable
trait Builder[Int, Array[Int]]
trait Growable[Int]
trait Clearable
class Object
trait Matchable
class Any
Show all
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.

Attributes

Source
ArrayBuilder.scala
Supertypes
trait Serializable
trait Builder[Long, Array[Long]]
trait Growable[Long]
trait Clearable
class Object
trait Matchable
class Any
Show all
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.

Attributes

Source
ArrayBuilder.scala
Supertypes
class ArrayBuilder[T]
trait Serializable
trait ReusableBuilder[T, Array[T]]
trait Builder[T, Array[T]]
trait Growable[T]
trait Clearable
class Object
trait Matchable
class Any
Show all
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.

Attributes

Source
ArrayBuilder.scala
Supertypes
trait Serializable
trait Growable[Short]
trait Clearable
class Object
trait Matchable
class Any
Show all
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.

Attributes

Source
ArrayBuilder.scala
Supertypes
trait Serializable
trait Builder[Unit, Array[Unit]]
trait Growable[Unit]
trait Clearable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def make[T : ClassTag]: ArrayBuilder[T]

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.

Attributes

Returns

a new empty array builder.

Source
ArrayBuilder.scala