scala.collection.BagPredef.scala Maven / Gradle / Ivy
The newest version!
package scala.collection
object BagPredef {
implicit def immutableHashedBagConfigurationOfMultiplicities[A] = immutable.HashedBagConfiguration.compact[A]
implicit def mutableHashedBagConfigurationOfMultiplicities[A] = mutable.HashedBagConfiguration.compact[A]
// TODO: find a way to make this work. Problem: diverging implicit expansion
implicit def immutableSortedBagConfigurationOfMultiplicities[A](implicit ordering: Ordering[A]) = immutable.SortedBagConfiguration.compact[A](ordering)
// TODO: find a way to make this work. Problem: diverging implicit expansion
implicit def mutableSortedBagConfigurationOfMultiplicities[A](implicit ordering: Ordering[A]) = mutable.SortedBagConfiguration.compact[A](ordering)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy