Mercurial > projects > dwt2
diff java/src/java/lang/Long.d @ 0:6dd524f61e62
add dwt win and basic java stuff
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 02 Mar 2009 14:44:16 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/src/java/lang/Long.d Mon Mar 02 14:44:16 2009 +0100 @@ -0,0 +1,28 @@ +module java.lang.Long; + +import java.lang.util; + +class Long : ValueWrapperT!(long) { + public static const long MIN_VALUE = long.min; + public static const long MAX_VALUE = long.max; + this( long value ){ + super(value); + } + this( String str ){ + implMissing( __FILE__, __LINE__ ); + super(0); + } + public long longValue(){ + return value; + } + public static long parseLong(String s){ + implMissing( __FILE__, __LINE__ ); + return 0; + } + public static String toString( double value ){ + implMissing( __FILE__, __LINE__ ); + return null; + } +} +alias Long ValueWrapperLong; +