corda/classpath/java/lang/Double.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;
}
}