I have stored my key, value pairs in multiple Mutable Map with MapString, String. And I can see the key and values in it. However, now I need to append these maps onto ArrayBuffer or List with String Type in Scala. So that, I can loop over every element in Array and proceed further. Please help.
Sample Code.
val X= scala.collection.mutable.Map[String, String]()
X += ("Name" -> "Raghav")
X += ("Home" -> "Gurgaon")
val Y= scala.collection.mutable.Map[String, String]()
Y += ("Name" -> "Vikrant")
Y += ("Home" -> "Noida")
var JobConfigs = scala.collection.mutable.ArrayBuffer.empty[String]
JobConfigs += X
JobConfigs += Y