Collections

The collections library in Scala is very powerful, and exemplifies several basic and advanced features of the language. It contains the usual types, such as Set, List, Array, and Map, but you'll also find more specialized ones like Stream, BitSet and Range.

In the video below, we explore the main features of Scala collections, and point to some simple examples.

If you're looking for a more in-depth resource, here is some comprehensive documentation from Scala-Lang.org.

It's time to test your knowledge on Collections - take the quiz below!