Advertisement
Guest User

Untitled

a guest
May 7th, 2019
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.20 KB | None | 0 0
  1. import scala.collection.concurrent.TrieMap
  2.  
  3. val map = TrieMap("a" -> 1, "b" -> "2")
  4. map.+=("c" -> 3)
  5. println(map)
  6.  
  7. // https://www.scala-lang.org/api/2.12.2/scala/collection/concurrent/TrieMap.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement