diff options
Diffstat (limited to 'src/library/scalax/collection/Map.scala')
-rwxr-xr-x | src/library/scalax/collection/Map.scala | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/library/scalax/collection/Map.scala b/src/library/scalax/collection/Map.scala new file mode 100755 index 0000000000..602da06bb0 --- /dev/null +++ b/src/library/scalax/collection/Map.scala @@ -0,0 +1,21 @@ +/* __ *\ +** ________ ___ / / ___ Scala API ** +** / __/ __// _ | / / / _ | (c) 2003-2009, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** +** /____/\___/_/ |_/____/_/ | | ** +** |/ ** +\* */ + +// $Id: Map.scala 16884 2009-01-09 16:52:09Z cunei $ + + +package scalax.collection + +import generic._ + +trait Map[A, B] extends MapTemplate[A, B, Map] + +/* Factory object for `Map` class */ +object Map extends MapFactory[Map] { + def empty[A, B]: Map[A, B] = new immutable.EmptyMap[A, B] +} |