diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2015-06-25 15:31:27 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2015-06-25 15:31:27 -0700 |
commit | e45dfe17b37911f6ba8ea119df383a22f7c7581d (patch) | |
tree | 42bb12eca38e17abf114eb1985fb1fcd2b79440b /src/library/scala/collection/generic | |
parent | 662e23eefbe67d843945b31495e138d02f60fe5e (diff) | |
parent | 0e8b73b29d96e3a37346ae196039ebded23303a7 (diff) | |
download | scala-e45dfe17b37911f6ba8ea119df383a22f7c7581d.tar.gz scala-e45dfe17b37911f6ba8ea119df383a22f7c7581d.tar.bz2 scala-e45dfe17b37911f6ba8ea119df383a22f7c7581d.zip |
Merge pull request #4504 from ruippeixotog/mutable-treemap
SI-4147 Add an implementation of `mutable.TreeMap`
Diffstat (limited to 'src/library/scala/collection/generic')
-rw-r--r-- | src/library/scala/collection/generic/MutableSortedMapFactory.scala | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/library/scala/collection/generic/MutableSortedMapFactory.scala b/src/library/scala/collection/generic/MutableSortedMapFactory.scala new file mode 100644 index 0000000000..b6fa933ca8 --- /dev/null +++ b/src/library/scala/collection/generic/MutableSortedMapFactory.scala @@ -0,0 +1,24 @@ +package scala +package collection +package generic + +import scala.language.higherKinds + +/** + * A template for companion objects of `SortedMap` and subclasses thereof. + * + * @tparam CC the type of the collection. + * + * @author Rui Gonçalves + * @since 2.12 + * @version 2.12 + * + * @define Coll `mutable.SortedMap` + * @define coll mutable sorted map + * @define factoryInfo + * This object provides a set of operations needed to create sorted maps of type `$Coll`. + * @define sortedMapCanBuildFromInfo + * The standard `CanBuildFrom` instance for sorted maps + */ +abstract class MutableSortedMapFactory[CC[A, B] <: mutable.SortedMap[A, B] with SortedMapLike[A, B, CC[A, B]]] + extends SortedMapFactory[CC] |