mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
34 lines
501 B
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;
|
|
}
|
|
}
|