blob: 3262fee7f60b1660418068e5418aefc2a1297ac5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import java.util.Collection
class Foo extends Collection[Int]
class Bar extends Collection[List[_ <: String]]
class Baz[T] extends Collection[T]
trait Xyz[T] {
def foo(x: T): Boolean
}
trait Bippy[T1, T2, T3] extends Collection[T1] with TraversableOnce[(T2, String)] with Xyz[T3]
class Dingus extends Bippy[String, Set[Int], List[Int]]
|