scala - Why is this Map not populating when I'm evaluating this code in Eclipse? -


below code should populate map when val test = userdatamap.get("test").get value null. whis occuring ? seems correct way of populating map ?

var userdatamap = map.empty[string, list[string]] userdatamap += ("test" -> list("test")) 


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -