Yes, we're now running our Black Friday Sale. All Access and Pro are 33% off until 2nd December, 2025:
Scala Collections
Last updated: November 21, 2022
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
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