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