Home »
Code Examples »
Scala Code Examples
Scala - How to convert immutable.Map to mutable.Map? Code Example
The code for How to convert immutable.Map to mutable.Map?
val m = collection.immutable.Map(1->"one",2->"Two")
val n = collection.mutable.Map(m.toSeq: _*)
Code by IncludeHelp,
on August 8, 2022 01:51