Mercurial > projects > dwt2
comparison java/src/java/util/Arrays.d @ 21:9b96950f2c3c
the 'java' tree compiles on both D1-Tango and D2-Phobos
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 19 Mar 2009 20:38:55 +0100 |
parents | eb8ff453285d |
children |
comparison
equal
deleted
inserted
replaced
20:dccb717aa902 | 21:9b96950f2c3c |
---|---|
56 foreach( o; a ){ | 56 foreach( o; a ){ |
57 res.add(o); | 57 res.add(o); |
58 } | 58 } |
59 return res; | 59 return res; |
60 } | 60 } |
61 public static void fill( String str, char c ){ | 61 public static void fill( char[] str, char c ){ |
62 str[] = c; | 62 str[] = c; |
63 } | 63 } |
64 } | 64 } |
65 | 65 |