Scala | map() method - GeeksforGeeks
www.geeksforgeeks.org › scala-map-methodMar 14, 2019 · A collection in Scala is a data structure which holds a group of objects. Examples of collections include Arrays, Lists, etc. We can apply some transformations to these collections using several methods. One such widely used method offered by Scala is map(). Important points about map() method: map() is a higher order function.
Scala Standard Library 2.13.10 - scala.collection.Map
www.scala-lang.org › scala › collectionscala.collection and its sub-packages contain Scala's collections framework. scala.collection.immutable - Immutable, sequential data-structures such as Vector, List, Range, HashMap or HashSet; scala.collection.mutable - Mutable, sequential data-structures such as ArrayBuffer, StringBuilder, HashMap or HashSet; scala.collection.concurrent - Mutable, concurrent data-structures such as TrieMap