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

Unified Diff: sdk/lib/collection/collections.dart

Issue 11414069: Make mappedBy lazy. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error. Created 8 years, 1 month 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: sdk/lib/collection/collections.dart
diff --git a/sdk/lib/collection/collections.dart b/sdk/lib/collection/collections.dart
index df0f412436462dd1ba6e7591a48d160b8042e726..d0f9c8e865b57a21f6beee7b1a5679c64390046c 100644
--- a/sdk/lib/collection/collections.dart
+++ b/sdk/lib/collection/collections.dart
@@ -35,13 +35,6 @@ class Collections {
return true;
}
- static List mappedBy(Iterable source, List destination, f(o)) {
- for (final e in source) {
- destination.add(f(e));
- }
- return destination;
- }
-
static Dynamic reduce(Iterable iterable,
Dynamic initialValue,
Dynamic combine(Dynamic previousValue, element)) {

Powered by Google App Engine
This is Rietveld 408576698