Def
Alias for removeAll
Alias for removeAll
Removes all collection elements, which are equal to those in given stream
Returns the collection itself
- Source
- Mutable.scala
Alias for remove
Alias for remove
Removes all collection elements, which are equal to the given value
Returns the collection itself
- Source
- Mutable.scala
Remove everything
Remove everything
Discards all elements, so the colection size will become 0
- Source
- Mutable.scala
Remove element
Remove element
Removes all collection elements, which are equal to the given value
Returns count of removed elements, which can be 0, 1, or many
- Source
- Mutable.scala
Remove all streamed
Remove all streamed
Removes all collection elements, which are equal to those in given stream
Returns count of removed elements, which can be 0, 1, or many
- Source
- Mutable.scala
Replace everything
Replace everything
Discards all old elements and adds all provided elements
- Source
- Mutable.scala
Stream elements
Stream elements
Returns a stream of all collection elements
Unless specifically defined, the order must be assumed as random
val c = Collection(1,3,5,7)
c.stream.tp
// Output
Stream(1, 3, 5, 7)
- Inherited from
- Collection
- Source
- __.scala