This trait forms part of collections that can be augmented
using a +=
operator and that can be cleared of all elements using
a clear
method.
This trait forms part of collections that can be augmented
using a +=
operator and that can be cleared of all elements using
a clear
method.
- Companion
- object
class AbstractBuffer[A]
class ArrayBuffer[A]
class ArrayDeque[A]
class ListBuffer[A]
class UnrolledBuffer[T]
trait IndexedBuffer[A]
class SystemProperties
class PriorityQueue[A]
class VectorBuilder[A]
class ArrayBuilder[T]
class ofByte
class ofShort
class ofChar
class ofInt
class ofLong
class ofFloat
class ofDouble
class ofBoolean
class ofUnit
class LongMapBuilder[V]
class StringBuilder
class LinkedHashSet[A]
class AbstractSet[A]
class BitSet
class AnyAccumulator[A]
class DoubleAccumulator
class IntAccumulator
class LongAccumulator
Value members
Abstract methods
Concrete methods
Deprecated methods
@deprecated("Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated", "2.13.0") @inline
Adds two or more elements to this growable collection.
Adds two or more elements to this growable collection.
- Value Params
- elem1
the first element to add.
- elem2
the second element to add.
- elems
the remaining elements to add.
- Returns
the growable collection itself
- Deprecated