summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/generic/MutableMapFactory.scala
blob: 7e33fc091f62ac52043c3530e5d0dc9dacabaad7 (plain) (blame)
1
2
3
4
5
6
7
8
9
package scala.collection.generic

/** A template for companion objects of mutable.Map and subclasses thereof.
 */
abstract class MutableMapFactory[CC[A, B] <: mutable.Map[A, B] with MutableMapTemplate[A, B, CC[A, B]]]
  extends MapFactory[CC] {

  def newBuilder[A, B] = new MapBuilder[A, B, CC[A, B]](empty[A, B])
}