| OLD | NEW |
| 1 // TODO(jmesserly): remove this once we have a subclassable growable list | 1 // TODO(jmesserly): remove this once we have a subclassable growable list |
| 2 // in our libraries. | 2 // in our libraries. |
| 3 | 3 |
| 4 /// A [List] proxy that you can subclass. | 4 /// A [List] proxy that you can subclass. |
| 5 library list_proxy; | 5 library list_proxy; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 import 'dart:math' show Random; | 8 import 'dart:math' show Random; |
| 9 | 9 |
| 10 // TOOD(jmesserly): this needs to be removed, but fixing NodeList is tricky. | 10 // TOOD(jmesserly): this needs to be removed, but fixing NodeList is tricky. |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 Map<int, E> asMap() => _list.asMap(); | 96 Map<int, E> asMap() => _list.asMap(); |
| 97 | 97 |
| 98 void replaceRange(int start, int end, Iterable<E> newContents) => | 98 void replaceRange(int start, int end, Iterable<E> newContents) => |
| 99 _list.replaceRange(start, end, newContents); | 99 _list.replaceRange(start, end, newContents); |
| 100 | 100 |
| 101 void setAll(int index, Iterable<E> iterable) => _list.setAll(index, iterable); | 101 void setAll(int index, Iterable<E> iterable) => _list.setAll(index, iterable); |
| 102 | 102 |
| 103 void fillRange(int start, int end, [E fillValue]) => | 103 void fillRange(int start, int end, [E fillValue]) => |
| 104 _list.fillRange(start, end, fillValue); | 104 _list.fillRange(start, end, fillValue); |
| 105 } | 105 } |
| OLD | NEW |