sealed abstract class ArrayBuilder[T] extends ReusableBuilder[T, Array[T]] with Serializable

A builder class for arrays.

T

the type of the elements for the builder.

Annotations
@SerialVersionUID()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArrayBuilder
  2. Serializable
  3. ReusableBuilder
  4. Builder
  5. Growable
  6. Clearable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def addOne(elem: T): ArrayBuilder.this.type
    Definition Classes
    Growable
  2. abstract def elems: Array[T]
    Attributes
    protected[this]
  3. abstract def resize(size: Int): Unit
    Attributes
    protected[this]
  4. abstract def result(): Array[T]
    Definition Classes
    ReusableBuilder → Builder

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ++=(xs: IterableOnce[T]): ArrayBuilder.this.type
    Definition Classes
    Growable
    Annotations
    @inline()
  4. final def +=(elem: T): ArrayBuilder.this.type
    Definition Classes
    Growable
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def addAll(xs: IterableOnce[T]): ArrayBuilder.this.type
    Definition Classes
    ArrayBuilder → Growable
  7. def addAll(xs: Array[_ <: T], offset: Int, length: Int): ArrayBuilder.this.type

    Add a slice of an array

  8. def addAll(xs: Array[_ <: T]): ArrayBuilder.this.type

    Add all elements of an array

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. var capacity: Int
    Attributes
    protected[this]
  11. def clear(): Unit
    Definition Classes
    ArrayBuilder → ReusableBuilder → Builder → Clearable
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  13. final def ensureSize(size: Int): Unit
    Attributes
    protected[this]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def knownSize: Int
    Definition Classes
    ArrayBuilder → Growable
  20. def length: Int
  21. def mapResult[NewTo](f: (Array[T]) => NewTo): Builder[T, NewTo]
    Definition Classes
    Builder
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. var size: Int
    Attributes
    protected
  26. final def sizeHint(size: Int): Unit
    Definition Classes
    ArrayBuilder → Builder
  27. final def sizeHint(coll: IterableOnce[_], delta: Int): Unit
    Definition Classes
    Builder
  28. final def sizeHintBounded(size: Int, boundingColl: Iterable[_]): Unit
    Definition Classes
    Builder
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. final def +=(elem1: T, elem2: T, elems: T*): ArrayBuilder.this.type
    Definition Classes
    Growable
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use ++= aka addAll instead of varargs +=; infix operations with an operand of multiple args will be deprecated

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from ReusableBuilder[T, Array[T]]

Inherited from Builder[T, Array[T]]

Inherited from Growable[T]

Inherited from Clearable

Inherited from AnyRef

Inherited from Any

Ungrouped