mirror of
https://github.com/corda/corda.git
synced 2025-06-14 13:18:18 +00:00
add a bunch of classes to classpath and flesh out a few existing ones
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
package java.lang;
|
||||
|
||||
public final class Byte {
|
||||
public final class Byte extends Number {
|
||||
private final byte value;
|
||||
|
||||
public Byte(byte value) {
|
||||
@ -10,4 +10,24 @@ public final class Byte {
|
||||
public byte byteValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public short shortValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public int intValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public long longValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public float floatValue() {
|
||||
return (float) value;
|
||||
}
|
||||
|
||||
public double doubleValue() {
|
||||
return (double) value;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user