scala.collection.mutable.Growable
See theGrowable companion objectThis trait forms part of collections that can be augmented using a +=
operator and that can be cleared of all elements using a clear
method.
trait
MapOps[
K,
V,
CC,
C]
Show allAdds a single element to this growable collection.
Adds a single element to this growable collection.
Value parametersthe element to add.
the growable collection itself
Adds all elements produced by an IterableOnce to this growable collection.
Adds all elements produced by an IterableOnce to this growable collection.
Value parametersthe IterableOnce producing the elements to add.
the growable collection itself.
The number of elements in the collection under construction, if it can be cheaply computed, -1 otherwise.
The number of elements in the collection under construction, if it can be cheaply computed, -1 otherwise.
AttributesThe number of elements. The default implementation always returns -1.
Adds two or more elements to this growable collection.
Adds two or more elements to this growable collection.
Value parametersthe first element to add.
the second element to add.
the remaining elements to add.
the growable collection itself
[Since version 2.13.0]
Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated
Clears the collection's contents.
Clears the collection's contents. After this operation, the collection is empty.
AttributesRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4