diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-07-12 01:01:28 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-07-12 01:01:28 -0700 |
commit | 758f0a7ac5366c9748739032383456b6e7727d37 (patch) | |
tree | ddb29bd01c00331b88c57dcf5bf2bbab8fcaa7f5 | |
parent | e6ac99e6a9871cb6f6931890d65f17a3663c3a4e (diff) | |
parent | 003ce2d676dcafe391d06b461f91581b8de5b200 (diff) | |
download | scala-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.
-rw-r--r-- | src/library/scala/collection/immutable/HashMap.scala | 3 | ||||
-rw-r--r-- | src/library/scala/collection/immutable/HashSet.scala | 3 |
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. * |