Chromium Code Reviews| Index: runtime/lib/array.dart | 
| =================================================================== | 
| --- runtime/lib/array.dart (revision 3161) | 
| +++ runtime/lib/array.dart (working copy) | 
| @@ -84,6 +84,10 @@ | 
| Collections.forEach(this, f); | 
| } | 
| + Collection map(f(E element)) { | 
| + return Collections.map(this, new GrowableObjectArray.withCapacity(length), f); | 
| + } | 
| + | 
| Collection<E> filter(bool f(E element)) { | 
| return Collections.filter(this, new GrowableObjectArray<E>(), f); | 
| } |