This repository was archived by the owner on Dec 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 72
FAQ
Lukas Rytz edited this page Jan 25, 2018
·
90 revisions
This page should evolve over time, but already be useful now. When more official documentation is available, content can be replaced by links.
-
collection.breakOut
no longer exists - Method
to[C]
was removed -
MapProxy
,SetProxy
no longer exist -
SynchronizedX
no longer exist - Implicit conversions between Scala and Java collections no longer exist (
convert.ImplicitConversions
/ImplicitConversionsToJava
/ImplicitConversionsToScala
) -- NOTE: they are not deprecated in 2.12.
Are there new implementations of existing collection types (changes in performance characteristics)?
- Compat library
- Accept some deprecation warnings (?)
- sbt's version-specific source folders if necessary, but should not be
No, there are no plans to change the scala.Seq
alias.
Historical discussion: https://groups.google.com/forum/#!topic/scala-internals/g_-gIWgB8Os
Read the draft document on the design of the Scala 2.13 collections: https://github.com/scalacenter/docs.scala-lang/blob/collection-strawman/_overviews/core/architecture-of-scala-collections.md
Examples