mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
34 lines
489 B
Java
34 lines
489 B
Java
package java.lang;
|
|
|
|
public final class Double {
|
|
private final double value;
|
|
|
|
public Double(double value) {
|
|
this.value = value;
|
|
}
|
|
|
|
public byte byteValue() {
|
|
return (byte) value;
|
|
}
|
|
|
|
public short shortValue() {
|
|
return (short) value;
|
|
}
|
|
|
|
public int intValue() {
|
|
return (int) value;
|
|
}
|
|
|
|
public long longValue() {
|
|
return (long) value;
|
|
}
|
|
|
|
public float floatValue() {
|
|
return (float) value;
|
|
}
|
|
|
|
public double doubleValue() {
|
|
return value;
|
|
}
|
|
}
|