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