scala.collection.generic.MutableSortedMapFactory.scala Maven / Gradle / Ivy
/*
* Scala (https://www.scala-lang.org)
*
* Copyright EPFL and Lightbend, Inc.
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*
* See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*/
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]