Collections have quite a few methods that construct new collections. Examples are map
, filter
or ++
. We call such methods transformers because they take at least one collection as their receiver object and produce another collection as their result.
This is a companion discussion topic for the original entry at http://docs.scala-lang.org//overviews/collections/views