The Baeldung logo
  • The Baeldung LogoScala Sublogo
  • Start Here
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • About Baeldung

      About Baeldung.

Scala Collections

Learn about Scala Collections such as Lists, Sets, Maps, Tuples, and Options. Learn how to work with Scala Collections through the guides below.

  • List (24)
  • Map (12)
  • Array (9)

>> Filter “None” Values From a Map

>> Rotating a Scala Collection

>> Querying Mappings in Scala Maps

>> Find the Last Occurrence of an Element in a List

>> Using foreach() Method in Scala Collections

>> LazyList in Scala

>> Find Min and Max of a Collection in Scala

>> How to Flatten Collections in Scala

>> Remove an Item by Index From a List

>> Count the Number of Occurrences of an Element in a List

>> Replace Elements in a Scala List by Index

>> Shuffle Collections in Scala

>> Create a List With the Same Repeated Element

>> Get a Random Element From an Array in Scala

>> Merge Two Maps in Scala

>> Find the Element With Max Value in a Map in Scala

>> Generate a List of Random Numbers in Scala

>> Guide to Scala ListMap

>> Scala Collections

>> Using forall in Scala

>> Guide to Scala ListSet

>> Split a Sequence in Scala

>> Split List by Fixed Number of Elements

>> Array vs. WrappedArray in Scala

>> Map Both Keys and Values of a Scala Map

>> Create an Empty Array in Scala

>> Initializing an Array in Scala

>> Find Unique Items in a List in Scala

>> Guide to Arrays in Scala

>> Copy an Array to Another in Scala

>> Remove Duplicates in a Scala List

>> Get a List Item by Index in Scala

>> Comparing Collection Contents with ScalaTest

>> Guide to ArrayBuffer

>> Printing Arrays in Scala

>> Iterating Over a Scala Map

>> Creating a List in Scala

>> Parameter Untupling in Scala 3

>> List Concatenation Operators in Scala

>> Benefits of Using Vector in Scala

>> Folding Lists in Scala

>> Iteration With Index and Value in Scala

>> Stream vs Views vs Iterators in Scala

>> Filter vs WithFilter

>> Finding the Index of an Element in a List with Scala

>> Converting Java Collections to Scala Collections

>> The Difference Between foldLeft and reduceLeft in Scala

>> A Guide to Scala Maps

>> Guide to Scala Collections

>> A Guide to Scala Tuples

  • ↑ Back to Top
The Baeldung logo

Categories

  • Scala Basics
  • Akka
  • Play

Series

  • Scala Collections

About

  • About Baeldung
  • The Full Archive
  • Write for Baeldung
  • Editors
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo