summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2012-07-12 01:01:28 -0700
committerAdriaan Moors <adriaan.moors@epfl.ch>2012-07-12 01:01:28 -0700
commit758f0a7ac5366c9748739032383456b6e7727d37 (patch)
treeddb29bd01c00331b88c57dcf5bf2bbab8fcaa7f5 /src/library
parente6ac99e6a9871cb6f6931890d65f17a3663c3a4e (diff)
parent003ce2d676dcafe391d06b461f91581b8de5b200 (diff)
downloadscala-758f0a7ac5366c9748739032383456b6e7727d37.tar.gz
scala-758f0a7ac5366c9748739032383456b6e7727d37.tar.bz2
scala-758f0a7ac5366c9748739032383456b6e7727d37.zip
Merge pull request #885 from soc/scaladoc-hashsetmap
Fix doc about specialized subclasses of c.i.HashMap/HashSet.
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/collection/immutable/HashMap.scala3
-rw-r--r--src/library/scala/collection/immutable/HashSet.scala3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/library/scala/collection/immutable/HashMap.scala b/src/library/scala/collection/immutable/HashMap.scala
index 05529761d3..2cf9985523 100644
--- a/src/library/scala/collection/immutable/HashMap.scala
+++ b/src/library/scala/collection/immutable/HashMap.scala
@@ -15,8 +15,7 @@ import parallel.immutable.ParHashMap
/** This class implements immutable maps using a hash trie.
*
- * '''Note:''' the builder of a hash map returns specialized representations EmptyMap,Map1,..., Map4
- * for maps of size <= 4.
+ * '''Note:''' The builder of this hash map may return specialized representations for small maps.
*
* @tparam A the type of the keys contained in this hash map.
* @tparam B the type of the values associated with the keys.
diff --git a/src/library/scala/collection/immutable/HashSet.scala b/src/library/scala/collection/immutable/HashSet.scala
index b956a4d838..c60fdc3bf1 100644
--- a/src/library/scala/collection/immutable/HashSet.scala
+++ b/src/library/scala/collection/immutable/HashSet.scala
@@ -17,8 +17,7 @@ import collection.parallel.immutable.ParHashSet
/** This class implements immutable sets using a hash trie.
*
- * '''Note:''' the builder of a hash set returns specialized representations `EmptySet`,`Set1`,..., `Set4`
- * for sets of `size <= 4`.
+ * '''Note:''' The builder of this hash set may return specialized representations for small sets.
*
* @tparam A the type of the elements contained in this hash set.
*