Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SCALA

scala map example

val myMap = Map(
  ("key", 56),
  ("anotherKey", "value")
)

println(myMap("key")) // "56"
 
PREVIOUS NEXT
Tagged: #scala #map
ADD COMMENT
Topic
Name
6+6 =