Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SCALA

map function scala

collection = (e1, e2, e3, ...)

//func is some function
collection.map(func)

//returns collection(func(e1), func(e2), func(e3), ...)
 
PREVIOUS NEXT
Tagged: #map #function #scala
ADD COMMENT
Topic
Name
2+9 =