Scala map and filter methods
Last updated
Last updated
map(func) and filter(func) Both are first class methods. First class methods take function as input parameter or output as function.
Functional programming: Programming focusing on a function is used as input parameter of another function or methods or as output of another function or method