Collections

Transforming Collections

Transforming collections are a view onto another collection, making it appear to be of a different parametric type. This can be used to remove optionality from a collection or substitute ‘equals’ and ‘hashCode’.