blob: 0fbcf684664befe3607726327bc1527d15199d0b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
package scalax.collection.generic
trait SetFactory[CC[A] <: SetTemplate[CC, A] with Set[A]] extends IterableFactory[CC] {
def empty[A]: CC[A]
def apply[A](elems: A*): CC[A] = empty[A] ++ elems.asInstanceOf[Iterable[A]] // !@!
}
|