view base/src/java/lang/Number.d @ 114:46539f5c5993

Added implementation of ResourceBundle.
author kntroh
date Fri, 08 Apr 2011 20:12:20 +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();
    }
}