Index: client/dom/common/implementation.dart |
=================================================================== |
--- client/dom/common/implementation.dart (revision 3161) |
+++ client/dom/common/implementation.dart (working copy) |
@@ -2,6 +2,7 @@ |
ListBase(); |
void forEach(void f(E element)) => Collections.forEach(this, f); |
+ Collection map(f(E element)) => Collections.map(this, [], f); |
Collection<E> filter(bool f(E element)) => Collections.filter(this, [], f); |
bool every(bool f(E element)) => Collections.every(this, f); |
bool some(bool f(E element)) => Collections.some(this, f); |