7c754d9268
6627364: javac needs Float and Double on the bootclasspath even when not directly used 6627366: javac needs Cloneable and Serializable on the classpath even when not directly used Reviewed-by: darcy
19 lines
286 B
Java
19 lines
286 B
Java
package java.lang;
|
|
|
|
public class Double extends Number
|
|
{
|
|
public static Double valueOf(double v) {
|
|
return new Double(v);
|
|
}
|
|
|
|
public Double(double v) {
|
|
value = v;
|
|
}
|
|
|
|
public double doubleValue() {
|
|
return value;
|
|
}
|
|
|
|
private double value;
|
|
}
|