Mercurial > projects > dwt2
annotate base/src/java/lang/Number.d @ 82:b2d6122fa189
Added base classes
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 14 Apr 2009 12:11:09 +0200 |
parents | |
children | 48d4ee626868 |
rev | line source |
---|---|
82 | 1 module java.lang.Number; |
2 | |
3 import java.lang.util; | |
4 | |
5 class Number { | |
6 this(){ | |
7 implMissing(__FILE__, __LINE__ ); | |
8 } | |
9 byte byteValue(){ | |
10 implMissing(__FILE__, __LINE__ ); | |
11 return 0; | |
12 } | |
13 abstract double doubleValue(); | |
14 abstract float floatValue(); | |
15 abstract int intValue(); | |
16 abstract long longValue(); | |
17 short shortValue(){ | |
18 implMissing(__FILE__, __LINE__ ); | |
19 return 0; | |
20 } | |
21 } | |
22 |