1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
import Specializable._
class A[@specialized(Primitives) T](x: T) {
def f1[@specialized(Primitives) U](x: T, y: U) = ((x, y))
def f2[@specialized(Everything) U](x: T, y: U) = ((x, y))
def f3[@specialized(Bits32AndUp) U](x: T, y: U) = ((x, y))
def f4[@specialized(Integral) U](x: T, y: U) = ((x, y))
def f5[@specialized(AllNumeric) U](x: T, y: U) = ((x, y))
def f6[@specialized(BestOfBreed) U](x: T, y: U) = ((x, y))
def f7[@specialized(Byte, Double, AnyRef) U](x: T, y: U) = ((x, y))
}
class B[@specialized(Everything) T] {
def f1[@specialized(Primitives) U](x: T, y: U) = ((x, y))
def f2[@specialized(Everything) U](x: T, y: U) = ((x, y))
def f3[@specialized(Bits32AndUp) U](x: T, y: U) = ((x, y))
def f4[@specialized(Integral) U](x: T, y: U) = ((x, y))
def f5[@specialized(AllNumeric) U](x: T, y: U) = ((x, y))
def f6[@specialized(BestOfBreed) U](x: T, y: U) = ((x, y))
def f7[@specialized(Byte, Double, AnyRef) U](x: T, y: U) = ((x, y))
}
class C[@specialized(Bits32AndUp) T] {
def f1[@specialized(Primitives) U](x: T, y: U) = ((x, y))
def f2[@specialized(Everything) U](x: T, y: U) = ((x, y))
def f3[@specialized(Bits32AndUp) U](x: T, y: U) = ((x, y))
def f4[@specialized(Integral) U](x: T, y: U) = ((x, y))
def f5[@specialized(AllNumeric) U](x: T, y: U) = ((x, y))
def f6[@specialized(BestOfBreed) U](x: T, y: U) = ((x, y))
def f7[@specialized(Byte, Double, AnyRef) U](x: T, y: U) = ((x, y))
}
class D[@specialized(Integral) T] {
def f1[@specialized(Primitives) U](x: T, y: U) = ((x, y))
def f2[@specialized(Everything) U](x: T, y: U) = ((x, y))
def f3[@specialized(Bits32AndUp) U](x: T, y: U) = ((x, y))
def f4[@specialized(Integral) U](x: T, y: U) = ((x, y))
def f5[@specialized(AllNumeric) U](x: T, y: U) = ((x, y))
def f6[@specialized(BestOfBreed) U](x: T, y: U) = ((x, y))
def f7[@specialized(Byte, Double, AnyRef) U](x: T, y: U) = ((x, y))
}
class E[@specialized(AllNumeric) T] {
def f1[@specialized(Primitives) U](x: T, y: U) = ((x, y))
def f2[@specialized(Everything) U](x: T, y: U) = ((x, y))
def f3[@specialized(Bits32AndUp) U](x: T, y: U) = ((x, y))
def f4[@specialized(Integral) U](x: T, y: U) = ((x, y))
def f5[@specialized(AllNumeric) U](x: T, y: U) = ((x, y))
def f6[@specialized(BestOfBreed) U](x: T, y: U) = ((x, y))
def f7[@specialized(Byte, Double, AnyRef) U](x: T, y: U) = ((x, y))
}
class F[@specialized(BestOfBreed) T] {
def f1[@specialized(Primitives) U](x: T, y: U) = ((x, y))
def f2[@specialized(Everything) U](x: T, y: U) = ((x, y))
def f3[@specialized(Bits32AndUp) U](x: T, y: U) = ((x, y))
def f4[@specialized(Integral) U](x: T, y: U) = ((x, y))
def f5[@specialized(AllNumeric) U](x: T, y: U) = ((x, y))
def f6[@specialized(BestOfBreed) U](x: T, y: U) = ((x, y))
def f7[@specialized(Byte, Double, AnyRef) U](x: T, y: U) = ((x, y))
}
class G[@specialized(Byte, Double, AnyRef) T] {
def f1[@specialized(Primitives) U](x: T, y: U) = ((x, y))
def f2[@specialized(Everything) U](x: T, y: U) = ((x, y))
def f3[@specialized(Bits32AndUp) U](x: T, y: U) = ((x, y))
def f4[@specialized(Integral) U](x: T, y: U) = ((x, y))
def f5[@specialized(AllNumeric) U](x: T, y: U) = ((x, y))
def f6[@specialized(BestOfBreed) U](x: T, y: U) = ((x, y))
def f7[@specialized(Byte, Double, AnyRef) U](x: T, y: U) = ((x, y))
}
|