All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.collection.mutable.BagLike.scala Maven / Gradle / Ivy

package scala.collection.mutable

import scala.collection._
import scala.language.higherKinds

trait BagLike[A, +This <: mutable.Bag[A] with mutable.BagLike[A, This]]
  extends scala.collection.BagLike[A, This]
  with generic.Subtractable[A, This]
  with generic.GrowableBag[A] {
  self =>

  final protected override type BagBucket = mutable.BagBucket[A]

  override protected[this] def newBuilder: mutable.BagBuilder[A, This] = new mutable.GrowingBagBuilder[A, This](empty)


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy