Files
kotlin-fork/j2k/testData/fileOrElement/issues/kt-19943.java
T
2017-11-13 15:54:33 +03:00

27 lines
608 B
Java
Vendored

import java.util.List;
public class TestSpecialMethodForTypeValue {
public byte testByte(List<Byte> xs) {
return xs.get(0).byteValue();
}
public short testShort(List<Short> xs) {
return xs.get(0).shortValue();
}
public int testInt(List<Integer> xs) {
return xs.get(0).intValue();
}
public long testLong(List<Long> xs) {
return xs.get(0).longValue();
}
public float testFloat(List<Float> xs) {
return xs.get(0).floatValue();
}
public double testDouble(List<Double> xs) {
return xs.get(0).doubleValue();
}
}