blob: 76ffc9faebe7e286f17ba59356b264f964395091 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2003-2010, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
// $Id$
package scala.collection
package generic
import mutable.Builder
/** A template for companion objects of `mutable.Map` and subclasses thereof.
* @author Martin Odersky
* @version 2.8
* @since 2.8
*/
abstract class MutableMapFactory[CC[A, B] <: mutable.Map[A, B] with mutable.MapLike[A, B, CC[A, B]]]
extends MapFactory[CC] {
/** The default builder for $Coll objects.
* @tparam A the type of the keys
* @tparam B the type of the associated values
*/
override def newBuilder[A, B]: Builder[(A, B), CC[A, B]] = empty[A, B]
}
|