Yes, we're now running our only Summer Sale. All Courses are 30% off until 20th July, 2026:
Scala Collections
Last updated: May 4, 2026
Collections are a set of classes that are used to group multiple elements together. Collections also provide a standard way of processing the elements inside them.
Scala has a very rich Collection API. Scala provides both mutable and immutable Collections.
In this series, we will discuss different Scala Collections and their operators.
.
.
.
.
.
Collections Overview
.
.
.
.
.
Arrays
- Guide to Arrays in Scala
- Create an Empty Array in Scala
- Initializing an Array in Scala
- Array vs. WrappedArray in Scala
- Copy an Array to Another in Scala
- Guide to ArrayBuffer
- Printing Arrays in Scala
- Get a Random Element From an Array in Scala
.
.
.
.
.
Seq, Lists and Vectors
- Creating a List in Scala
- Guide to Scala ListSet
- Guide to Scala ListMap
- Get a List Item by Index in Scala
- Finding the Index of an Element in a List with Scala
- Split a Sequence in Scala
- Split List by Fixed Number of Elements
- Benefits of Using Vector in Scala
- Find Unique Items in a List in Scala
- Remove Duplicates in a Scala List
- List Concatenation Operators in Scala
- Folding Lists in Scala
- Count the Number of Occurrences of an Element in a List
- Replace Elements in a Scala List by Index
- Create a List With the Same Repeated Element
.
.
.
.
.
Maps
- A Guide to Scala Maps
- Map Both Keys and Values of a Scala Map
- Iterating Over a Scala Map
- Merge Two Maps in Scala
- Find the Element With Max Value in a Map in Scala
.
.
.
.
.
Lazy Collections
.
.
.
.
.
Collection Operations
- Using forall in Scala
- Parameter Untupling in Scala 3
- Iteration With Index and Value in Scala
- Filter vs WithFilter
- The Difference Between foldLeft and reduceLeft in Scala
- Converting Java Collections to Scala Collections
- Shuffle Collections in Scala
.
.
.
.
.