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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -