trait Growable[-A] extends AnyRef
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.
- Alphabetic
- By Inheritance
- Growable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
add(elem: A): Growable.this.type
${Add}s a single element to this $coll.
${Add}s a single element to this $coll.
- elem
the element to $add.
- returns
the $coll itself
-
abstract
def
clear(): Unit
Clears the $coll's contents.
Clears the $coll's contents. After this operation, the $coll is empty.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
++=(xs: IterableOnce[A]): Growable.this.type
Alias for
addAllInPlaceAlias for
addAllInPlace- Annotations
- @inline()
-
final
def
+=(elem1: A, elem2: A, elems: A*): Growable.this.type
${Add}s two or more elements to this $coll.
${Add}s two or more elements to this $coll.
- elem1
the first element to $add.
- elem2
the second element to $add.
- elems
the remaining elements to $add.
- returns
the $coll itself
- Annotations
- @inline()
-
final
def
+=(elem: A): Growable.this.type
Alias for
addAlias for
add- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addAll(xs: IterableOnce[A]): Growable.this.type
${Add}s all elements produced by a TraversableOnce to this $coll.
${Add}s all elements produced by a TraversableOnce to this $coll.
- xs
the TraversableOnce producing the elements to $add.
- returns
the $coll itself.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )