blob: 7f104e58bfddbafc0bc3e40f7407386d03d9b1a8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class Pixel[@specialized T] protected (var v: T)
object Pixel {
type Pixel1d = Pixel[Double]
def apply(v: Double): Pixel1d = new Pixel1d(v)
}
|