Skip to content

Commit e45dfe1

Browse files
committed
Merge pull request scala#4504 from ruippeixotog/mutable-treemap
SI-4147 Add an implementation of `mutable.TreeMap`
2 parents 662e23e + 0e8b73b commit e45dfe1

File tree

7 files changed

+1129
-3
lines changed

7 files changed

+1129
-3
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package scala
2+
package collection
3+
package generic
4+
5+
import scala.language.higherKinds
6+
7+
/**
8+
* A template for companion objects of `SortedMap` and subclasses thereof.
9+
*
10+
* @tparam CC the type of the collection.
11+
*
12+
* @author Rui Gonçalves
13+
* @since 2.12
14+
* @version 2.12
15+
*
16+
* @define Coll `mutable.SortedMap`
17+
* @define coll mutable sorted map
18+
* @define factoryInfo
19+
* This object provides a set of operations needed to create sorted maps of type `$Coll`.
20+
* @define sortedMapCanBuildFromInfo
21+
* The standard `CanBuildFrom` instance for sorted maps
22+
*/
23+
abstract class MutableSortedMapFactory[CC[A, B] <: mutable.SortedMap[A, B] with SortedMapLike[A, B, CC[A, B]]]
24+
extends SortedMapFactory[CC]

0 commit comments

Comments
 (0)