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
Post a Comment