corda/classpath/java/lang/Float.java

34 lines
501 B
Java

package java.lang;
public final class Float extends Number {
private final float value;
public Float(float 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 value;
}
public double doubleValue() {
return (double) value;
}
}