Mutable and Immutable Collections | Collections | Scala ...
docs.scala-lang.org › overviews › collections-2Scala collections systematically distinguish between mutable and immutable collections. A mutable collection can be updated, reduced or extended in place. This means you can change, add, or remove elements of a collection as a side effect. Immutable collections, by contrast, never change. You have still operations that simulate additions, removals, or updates, but those operations will in each case return a new collection and leave the old collection unchanged.
Scala Standard Library 2.13.10 - scala.collection.mutable
www.scala-lang.org › collection › mutablescala.collection and its sub-packages contain Scala's collections framework. scala.collection.immutable - Immutable, sequential data-structures such as Vector, List, Range, HashMap or HashSet; scala.collection.mutable - Mutable, sequential data-structures such as ArrayBuffer, StringBuilder, HashMap or HashSet; scala.collection.concurrent - Mutable, concurrent data-structures such as TrieMap
Mutable and Immutable Collections | Collections (Scala 2.8 ...
docs.scala-lang.org › overviews › collectionsScala collections systematically distinguish between mutable and immutable collections. A mutable collection can be updated or extended in place. This means you can change, add, or remove elements of a collection as a side effect. Immutable collections, by contrast, never change. You have still operations that simulate additions, removals, or updates, but those operations will in each case return a new collection and leave the old collection unchanged.