@author shannah
| 27 | * @author shannah |
| 28 | */ |
| 29 | public abstract class Number { |
| 30 | public abstract int intValue(); |
| 31 | |
| 32 | public byte byteValue() { |
| 33 | return (byte)intValue(); |
| 34 | } |
| 35 | |
| 36 | public abstract long longValue(); |
| 37 | |
| 38 | public abstract float floatValue(); |
| 39 | |
| 40 | public abstract double doubleValue(); |
| 41 | |
| 42 | public short shortValue() { |
| 43 | return (short) intValue(); |
| 44 | } |
| 45 | } |
no outgoing calls
no test coverage detected