Skip to main content
The 2024 Developer Survey results are live! See the results

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 3
    Is it still valid in 2021? Commented Oct 17, 2021 at 12:36
  • 2
    Yes, it is valid. The "synchronized" collections in Scala are deprecated since Scala 2.11.0. It is recommended to use java.util.concurrent. package. Commented Jul 25, 2022 at 21:15