Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(751)

Unified Diff: client/html/src/DocumentFragmentWrappingImplementation.dart

Issue 9114021: Added method map to Collection interface and all its implementations (except classes generated fr... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: client/html/src/DocumentFragmentWrappingImplementation.dart
===================================================================
--- client/html/src/DocumentFragmentWrappingImplementation.dart (revision 2973)
+++ client/html/src/DocumentFragmentWrappingImplementation.dart (working copy)
@@ -90,6 +90,7 @@
return last;
}
+ Collection map(f(Element element)) => _filtered.map(f);
Collection<Element> filter(bool f(Element element)) => _filtered.filter(f);
bool every(bool f(Element element)) => _filtered.every(f);
bool some(bool f(Element element)) => _filtered.some(f);

Powered by Google App Engine
This is Rietveld 408576698