Index: sdk/lib/collection_dev/list.dart |
diff --git a/sdk/lib/collection_dev/list.dart b/sdk/lib/collection_dev/list.dart |
index ba9407ed71130256a7cda87d27610e629d6cc527..09d6deb238b7962704f38020b6e965fcd18d2a86 100644 |
--- a/sdk/lib/collection_dev/list.dart |
+++ b/sdk/lib/collection_dev/list.dart |
@@ -93,6 +93,10 @@ abstract class ListBase<E> extends Collection<E> implements List<E> { |
return result; |
} |
+ Iterable map(f(E element)) { |
+ return new MappedIterable(this, f); |
+ } |
+ |
List mappedBy(f(E element)) { |
return new MappedList(this, f); |
} |