Mercurial > projects > dwt2
view base/src/java/lang/Number.d @ 112:9f4c18c268b2
Update to compile and execute with dmd 2.052.
author | kntroh |
---|---|
date | Wed, 16 Mar 2011 21:53:53 +0900 |
parents | 48d4ee626868 |
children |
line wrap: on
line source
module java.lang.Number; import java.lang.util; class Number { this(){ } byte byteValue(){ return cast(byte)intValue(); } abstract double doubleValue(); abstract float floatValue(); abstract int intValue(); abstract long longValue(); short shortValue(){ return cast(short)intValue(); } }