20 lines
347 B
Java
20 lines
347 B
Java
package java.lang;
|
|
|
|
public class Number {
|
|
public byte byteValue() {
|
|
return (byte)intValue();
|
|
}
|
|
|
|
public abstract double doubleValue();
|
|
|
|
public abstract float floatValue();
|
|
|
|
public abstract int intValue();
|
|
|
|
public abstract long longValue();
|
|
|
|
public short shortValue() {
|
|
return (byte)shortValue();
|
|
}
|
|
}
|