scala不可变和可变
Map: Scala Map is a collection that stores elements as key-value pairs. The key value for a map is always unique and is used to access the specific pair in the map.
Map : Scala Map是一个将元素存储为键值对的集合。 映射的键值始终是唯一的,用于访问映射中的特定对。
Immutable Map: is a map in which the number of elements cannot be altered also the values cannot be changed. It is defined in scala.collection.immutable.Map
不可变地图 :是一个地图,其中元素的数量不能更改,值也不能更改。 它在scala.collection.immutable.Map中定义
Mutable Map: is an editable map, i.e. the number of elements and