Scala – Mutables and Immutable Collections

  • date 1st March, 2021 |
  • by Prwatech |
  • 0 Comments

 

 

The following figure shows all collections in package:

Immutable collection hierarchy

A useful convention if you want to use both mutable and immutable versions of collections is to import just the package collection.mutable.

 

 

0
0

Quick Support

image image