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

Side by Side Diff: packages/html/lib/src/list_proxy.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « packages/html/lib/src/inputstream.dart ('k') | packages/html/lib/src/query_selector.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « packages/html/lib/src/inputstream.dart ('k') | packages/html/lib/src/query_selector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698