summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-12-12 13:58:29 -0800
committerPaul Phillips <paulp@improving.org>2011-12-12 13:58:29 -0800
commit278a225d989d30d9913dd923e13e55bfe437049e (patch)
tree979d3c870560df7f4e21c2748344b67c61c9e025 /src/library
parente8efc9a0337a3fc6ab5f8a0756cdc28f44f176a1 (diff)
parent1dec43c5ab4ab15ad8f13d4d93b404376f1aa47b (diff)
downloadscala-278a225d989d30d9913dd923e13e55bfe437049e.tar.gz
scala-278a225d989d30d9913dd923e13e55bfe437049e.tar.bz2
scala-278a225d989d30d9913dd923e13e55bfe437049e.zip
Merge remote-tracking branch 'repo/develop'
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/collection/immutable/Map.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library/scala/collection/immutable/Map.scala b/src/library/scala/collection/immutable/Map.scala
index 45cf088dd9..bbefd983fd 100644
--- a/src/library/scala/collection/immutable/Map.scala
+++ b/src/library/scala/collection/immutable/Map.scala
@@ -47,6 +47,7 @@ trait Map[A, +B] extends Iterable[(A, B)]
def withDefault[B1 >: B](d: A => B1): immutable.Map[A, B1] = new Map.WithDefault[A, B1](this, d)
/** The same map with a given default value.
+ * Note: `get`, `contains`, `iterator`, `keys`, etc are not affected by `withDefaultValue`.
*
* Invoking transformer methods (e.g. `map`) will not preserve the default value.
*