comparison dwt/dwthelper/utils.d @ 310:7ca3f26319f1

System.out.println and interface CharSequence
author Frank Benoit <benoit@tionex.de>
date Tue, 26 Aug 2008 02:47:19 +0200
parents 9995e4a9d2ee
children 77fa7f3ab37e
comparison
equal deleted inserted replaced
308:dc2ae028d2d8 310:7ca3f26319f1
2 * Authors: Frank Benoit <keinfarbton@googlemail.com> 2 * Authors: Frank Benoit <keinfarbton@googlemail.com>
3 */ 3 */
4 module dwt.dwthelper.utils; 4 module dwt.dwthelper.utils;
5 5
6 public import dwt.dwthelper.System; 6 public import dwt.dwthelper.System;
7 public import dwt.dwthelper.Runnable;
7 public import Math = tango.math.Math; 8 public import Math = tango.math.Math;
8 9
9 public import tango.core.Exception : IllegalArgumentException, IOException; 10 public import tango.core.Exception : IllegalArgumentException, IOException;
10 11
11 import tango.io.Stdout; 12 import tango.io.Stdout;
1106 1107
1107 template getImportData(String name ){ 1108 template getImportData(String name ){
1108 const ImportData getImportData = ImportData( import(name), name ); 1109 const ImportData getImportData = ImportData( import(name), name );
1109 } 1110 }
1110 1111
1112 interface CharSequence {
1113 wchar charAt(int index);
1114 int length();
1115 CharSequence subSequence(int start, int end);
1116 String toString();
1117 }
1118