class TestSpecialMethodForTypeValue { | |
fun testByte(xs: List<Byte>): Byte { | |
return xs[0] | |
} | |
fun testShort(xs: List<Short>): Short { | |
return xs[0] | |
} | |
fun testInt(xs: List<Int>): Int { | |
return xs[0] | |
} | |
fun testLong(xs: List<Long>): Long { | |
return xs[0] | |
} | |
fun testFloat(xs: List<Float>): Float { | |
return xs[0] | |
} | |
fun testDouble(xs: List<Double>): Double { | |
return xs[0] | |
} | |
} |