| OLD | NEW |
| 1 /// The Dart HTML library. | 1 /// The Dart HTML library. |
| 2 library dart.dom.html; | 2 library dart.dom.html; |
| 3 | 3 |
| 4 import 'dart:async'; | 4 import 'dart:async'; |
| 5 import 'dart:collection'; | 5 import 'dart:collection'; |
| 6 import 'dart:_collection-dev' hide Symbol; | 6 import 'dart:_collection-dev' hide Symbol; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:indexed_db'; | 8 import 'dart:indexed_db'; |
| 9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
| 10 import 'dart:json' as json; | 10 import 'dart:json' as json; |
| (...skipping 29128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 29139 // List APIs | 29139 // List APIs |
| 29140 | 29140 |
| 29141 E operator [](int index) => _list[index]; | 29141 E operator [](int index) => _list[index]; |
| 29142 | 29142 |
| 29143 void operator []=(int index, E value) { _list[index] = value; } | 29143 void operator []=(int index, E value) { _list[index] = value; } |
| 29144 | 29144 |
| 29145 void set length(int newLength) { _list.length = newLength; } | 29145 void set length(int newLength) { _list.length = newLength; } |
| 29146 | 29146 |
| 29147 void sort([int compare(E a, E b)]) { _list.sort(compare); } | 29147 void sort([int compare(E a, E b)]) { _list.sort(compare); } |
| 29148 | 29148 |
| 29149 int indexOf(E element, [int start = 0]) => _list.indexOf(element, start); | 29149 int indexOf(Object element, [int start = 0]) => _list.indexOf(element, start); |
| 29150 | 29150 |
| 29151 int lastIndexOf(E element, [int start]) => _list.lastIndexOf(element, start); | 29151 int lastIndexOf(Object element, [int start]) => _list.lastIndexOf(element, sta
rt); |
| 29152 | 29152 |
| 29153 void insert(int index, E element) => _list.insert(index, element); | 29153 void insert(int index, E element) => _list.insert(index, element); |
| 29154 | 29154 |
| 29155 E removeAt(int index) => _list.removeAt(index); | 29155 E removeAt(int index) => _list.removeAt(index); |
| 29156 | 29156 |
| 29157 void setRange(int start, int end, Iterable<E> iterable, [int skipCount = 0]) { | 29157 void setRange(int start, int end, Iterable<E> iterable, [int skipCount = 0]) { |
| 29158 _list.setRange(start, end, iterable, skipCount); | 29158 _list.setRange(start, end, iterable, skipCount); |
| 29159 } | 29159 } |
| 29160 | 29160 |
| 29161 void removeRange(int start, int end) { _list.removeRange(start, end); } | 29161 void removeRange(int start, int end) { _list.removeRange(start, end); } |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 29597 _position = nextPosition; | 29597 _position = nextPosition; |
| 29598 return true; | 29598 return true; |
| 29599 } | 29599 } |
| 29600 _current = null; | 29600 _current = null; |
| 29601 _position = _array.length; | 29601 _position = _array.length; |
| 29602 return false; | 29602 return false; |
| 29603 } | 29603 } |
| 29604 | 29604 |
| 29605 T get current => _current; | 29605 T get current => _current; |
| 29606 } | 29606 } |
| OLD | NEW |