| Index: sdk/lib/core/sequences.dart
|
| diff --git a/sdk/lib/core/sequences.dart b/sdk/lib/core/sequences.dart
|
| index 340ba0188b337968b47a327cbd2afbd44b6a76a0..a98fa8dd19838c3c570515a0822ed2bf348557b6 100644
|
| --- a/sdk/lib/core/sequences.dart
|
| +++ b/sdk/lib/core/sequences.dart
|
| @@ -39,13 +39,7 @@ abstract class SequenceCollection<E> implements Collection<E>, Sequence<E> {
|
| for (int i = 0; i < this.length; i++) f(this[i]);
|
| }
|
|
|
| - Collection mappedBy(f(E element)) {
|
| - List result = new List();
|
| - for (int i = 0; i < this.length; i++) {
|
| - result.add(f(this[i]));
|
| - }
|
| - return result;
|
| - }
|
| + Iterable mappedBy(f(E element)) => new MappedIterable(this, f);
|
|
|
| bool contains(E value) {
|
| for (int i = 0; i < sequence.length; i++) {
|
|
|