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