The collections class in Scala is a high-performance and type-parameterized framework with support for mutable and immutable type hierarchies. These distinct and independent mutable and immutable type hierarchies make switching between mutable and immutable implementations much simpler. Scala’s object-oriented collections also support functional higher-order operations such as map, filter, and reduce, which let you use expression-oriented ...
6. Scala Collections
Get Beginning Scala 3: A Functional and Object-Oriented Java Language now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.