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

Unified Diff: client/observable/observable.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, 11 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
« no previous file with comments | « client/html/src/NodeWrappingImplementation.dart ('k') | client/samples/swarm/DataSource.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/observable/observable.dart
===================================================================
--- client/observable/observable.dart (revision 3161)
+++ client/observable/observable.dart (working copy)
@@ -263,6 +263,7 @@
// Collection<T>:
Collection<T> filter(bool f(T element)) => _internal.filter(f);
+ Collection map(f(T element)) => _internal.map(f);
bool every(bool f(T element)) => _internal.every(f);
bool some(bool f(T element)) => _internal.some(f);
void forEach(void f(T element)) { _internal.forEach(f); }
« no previous file with comments | « client/html/src/NodeWrappingImplementation.dart ('k') | client/samples/swarm/DataSource.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698