scala.collection.generic.GrowableBag.scala Maven / Gradle / Ivy
package scala.collection.generic
trait GrowableBag[A] extends Growable[A] {
def +=(elem: A): this.type = add(elem, 1)
@inline
def +=(elemCount: (A, Int)): this.type = add(elemCount._1, elemCount._2)
def add(elem: A, count: Int): this.type
def addBucket(bucket: scala.collection.BagBucket[A]): this.type
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy