Skip to content
This repository
Browse code

Merge pull request #885 from soc/scaladoc-hashsetmap

Fix doc about specialized subclasses of c.i.HashMap/HashSet.
  • Loading branch information...
commit 758f0a7ac5366c9748739032383456b6e7727d37 2 parents e6ac99e + 003ce2d
Adriaan Moors adriaanm authored
3  src/library/scala/collection/immutable/HashMap.scala
@@ -15,8 +15,7 @@ import parallel.immutable.ParHashMap
15 15
16 16 /** This class implements immutable maps using a hash trie.
17 17 *
18   - * '''Note:''' the builder of a hash map returns specialized representations EmptyMap,Map1,..., Map4
19   - * for maps of size <= 4.
  18 + * '''Note:''' The builder of this hash map may return specialized representations for small maps.
20 19 *
21 20 * @tparam A the type of the keys contained in this hash map.
22 21 * @tparam B the type of the values associated with the keys.
3  src/library/scala/collection/immutable/HashSet.scala
@@ -17,8 +17,7 @@ import collection.parallel.immutable.ParHashSet
17 17
18 18 /** This class implements immutable sets using a hash trie.
19 19 *
20   - * '''Note:''' the builder of a hash set returns specialized representations `EmptySet`,`Set1`,..., `Set4`
21   - * for sets of `size <= 4`.
  20 + * '''Note:''' The builder of this hash set may return specialized representations for small sets.
22 21 *
23 22 * @tparam A the type of the elements contained in this hash set.
24 23 *

0 comments on commit 758f0a7

Please sign in to comment.
Something went wrong with that request. Please try again.