| OLD | NEW |
| 1 var collection; | 1 var collection; |
| 2 (function(exports) { | 2 (function(exports) { |
| 3 'use strict'; | 3 'use strict'; |
| 4 let _source = Symbol('_source'); | 4 let _source = Symbol('_source'); |
| 5 let UnmodifiableListView$ = dart.generic(function(E) { | 5 let UnmodifiableListView$ = dart.generic(function(E) { |
| 6 class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { | 6 class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { |
| 7 UnmodifiableListView(source) { | 7 UnmodifiableListView(source) { |
| 8 this[_source] = source; | 8 this[_source] = source; |
| 9 super.UnmodifiableListBase(); | 9 super.UnmodifiableListBase(); |
| 10 } | 10 } |
| (...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1106 return LinkedHashSet; | 1106 return LinkedHashSet; |
| 1107 }); | 1107 }); |
| 1108 let LinkedHashSet = LinkedHashSet$(dart.dynamic); | 1108 let LinkedHashSet = LinkedHashSet$(dart.dynamic); |
| 1109 let _modificationCount = Symbol('_modificationCount'); | 1109 let _modificationCount = Symbol('_modificationCount'); |
| 1110 let _length = Symbol('_length'); | 1110 let _length = Symbol('_length'); |
| 1111 let _next = Symbol('_next'); | 1111 let _next = Symbol('_next'); |
| 1112 let _previous = Symbol('_previous'); | 1112 let _previous = Symbol('_previous'); |
| 1113 let _insertAfter = Symbol('_insertAfter'); | 1113 let _insertAfter = Symbol('_insertAfter'); |
| 1114 let _list = Symbol('_list'); | 1114 let _list = Symbol('_list'); |
| 1115 let _unlink = Symbol('_unlink'); | 1115 let _unlink = Symbol('_unlink'); |
| 1116 class _LinkedListLink extends core.Object { |
| 1117 _LinkedListLink() { |
| 1118 this[_next] = null; |
| 1119 this[_previous] = null; |
| 1120 } |
| 1121 } |
| 1116 let LinkedList$ = dart.generic(function(E) { | 1122 let LinkedList$ = dart.generic(function(E) { |
| 1117 class LinkedList extends IterableBase$(E) { | 1123 class LinkedList extends IterableBase$(E) { |
| 1118 LinkedList() { | 1124 LinkedList() { |
| 1119 this[_modificationCount] = 0; | 1125 this[_modificationCount] = 0; |
| 1120 this[_length] = 0; | 1126 this[_length] = 0; |
| 1121 this[_next] = null; | 1127 this[_next] = null; |
| 1122 this[_previous] = null; | 1128 this[_previous] = null; |
| 1123 super.IterableBase(); | 1129 super.IterableBase(); |
| 1124 this[_next] = this[_previous] = this; | 1130 this[_next] = this[_previous] = this; |
| 1125 } | 1131 } |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1238 } | 1244 } |
| 1239 this[_current] = dart.as(this[_next], E); | 1245 this[_current] = dart.as(this[_next], E); |
| 1240 this[_next] = this[_next][_next]; | 1246 this[_next] = this[_next][_next]; |
| 1241 return true; | 1247 return true; |
| 1242 } | 1248 } |
| 1243 } | 1249 } |
| 1244 _LinkedListIterator[dart.implements] = [core.Iterator$(E)]; | 1250 _LinkedListIterator[dart.implements] = [core.Iterator$(E)]; |
| 1245 return _LinkedListIterator; | 1251 return _LinkedListIterator; |
| 1246 }); | 1252 }); |
| 1247 let _LinkedListIterator = _LinkedListIterator$(dart.dynamic); | 1253 let _LinkedListIterator = _LinkedListIterator$(dart.dynamic); |
| 1248 class _LinkedListLink extends core.Object { | |
| 1249 _LinkedListLink() { | |
| 1250 this[_next] = null; | |
| 1251 this[_previous] = null; | |
| 1252 } | |
| 1253 } | |
| 1254 let LinkedListEntry$ = dart.generic(function(E) { | 1254 let LinkedListEntry$ = dart.generic(function(E) { |
| 1255 class LinkedListEntry extends core.Object { | 1255 class LinkedListEntry extends core.Object { |
| 1256 LinkedListEntry() { | 1256 LinkedListEntry() { |
| 1257 this[_list] = null; | 1257 this[_list] = null; |
| 1258 this[_next] = null; | 1258 this[_next] = null; |
| 1259 this[_previous] = null; | 1259 this[_previous] = null; |
| 1260 } | 1260 } |
| 1261 get list() { | 1261 get list() { |
| 1262 return this[_list]; | 1262 return this[_list]; |
| 1263 } | 1263 } |
| (...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1789 } | 1789 } |
| 1790 toString() { | 1790 toString() { |
| 1791 return Maps.mapToString(this); | 1791 return Maps.mapToString(this); |
| 1792 } | 1792 } |
| 1793 } | 1793 } |
| 1794 MapMixin[dart.implements] = [core.Map$(K, V)]; | 1794 MapMixin[dart.implements] = [core.Map$(K, V)]; |
| 1795 return MapMixin; | 1795 return MapMixin; |
| 1796 }); | 1796 }); |
| 1797 let MapMixin = MapMixin$(dart.dynamic, dart.dynamic); | 1797 let MapMixin = MapMixin$(dart.dynamic, dart.dynamic); |
| 1798 let MapBase$ = dart.generic(function(K, V) { | 1798 let MapBase$ = dart.generic(function(K, V) { |
| 1799 class MapBase extends dart.mixin(MapMixin$(K, V)) { | 1799 class MapBase extends dart.mixin(MapMixin$(K, V)) {} |
| 1800 } | |
| 1801 return MapBase; | 1800 return MapBase; |
| 1802 }); | 1801 }); |
| 1803 let MapBase = MapBase$(dart.dynamic, dart.dynamic); | 1802 let MapBase = MapBase$(dart.dynamic, dart.dynamic); |
| 1804 let _UnmodifiableMapMixin$ = dart.generic(function(K, V) { | 1803 let _UnmodifiableMapMixin$ = dart.generic(function(K, V) { |
| 1805 class _UnmodifiableMapMixin extends core.Object { | 1804 class _UnmodifiableMapMixin extends core.Object { |
| 1806 set(key, value) { | 1805 set(key, value) { |
| 1807 throw new core.UnsupportedError("Cannot modify unmodifiable map"); | 1806 throw new core.UnsupportedError("Cannot modify unmodifiable map"); |
| 1808 } | 1807 } |
| 1809 addAll(other) { | 1808 addAll(other) { |
| 1810 throw new core.UnsupportedError("Cannot modify unmodifiable map"); | 1809 throw new core.UnsupportedError("Cannot modify unmodifiable map"); |
| 1811 } | 1810 } |
| 1812 clear() { | 1811 clear() { |
| 1813 throw new core.UnsupportedError("Cannot modify unmodifiable map"); | 1812 throw new core.UnsupportedError("Cannot modify unmodifiable map"); |
| 1814 } | 1813 } |
| 1815 remove(key) { | 1814 remove(key) { |
| 1816 throw new core.UnsupportedError("Cannot modify unmodifiable map"); | 1815 throw new core.UnsupportedError("Cannot modify unmodifiable map"); |
| 1817 } | 1816 } |
| 1818 putIfAbsent(key, ifAbsent) { | 1817 putIfAbsent(key, ifAbsent) { |
| 1819 throw new core.UnsupportedError("Cannot modify unmodifiable map"); | 1818 throw new core.UnsupportedError("Cannot modify unmodifiable map"); |
| 1820 } | 1819 } |
| 1821 } | 1820 } |
| 1822 _UnmodifiableMapMixin[dart.implements] = [core.Map$(K, V)]; | 1821 _UnmodifiableMapMixin[dart.implements] = [core.Map$(K, V)]; |
| 1823 return _UnmodifiableMapMixin; | 1822 return _UnmodifiableMapMixin; |
| 1824 }); | 1823 }); |
| 1825 let _UnmodifiableMapMixin = _UnmodifiableMapMixin$(dart.dynamic, dart.dynamic)
; | 1824 let _UnmodifiableMapMixin = _UnmodifiableMapMixin$(dart.dynamic, dart.dynamic)
; |
| 1826 let UnmodifiableMapBase$ = dart.generic(function(K, V) { | 1825 let UnmodifiableMapBase$ = dart.generic(function(K, V) { |
| 1827 class UnmodifiableMapBase extends dart.mixin(_UnmodifiableMapMixin$(K, V)) { | 1826 class UnmodifiableMapBase extends dart.mixin(_UnmodifiableMapMixin$(K, V)) {
} |
| 1828 } | |
| 1829 return UnmodifiableMapBase; | 1827 return UnmodifiableMapBase; |
| 1830 }); | 1828 }); |
| 1831 let UnmodifiableMapBase = UnmodifiableMapBase$(dart.dynamic, dart.dynamic); | 1829 let UnmodifiableMapBase = UnmodifiableMapBase$(dart.dynamic, dart.dynamic); |
| 1832 let _map = Symbol('_map'); | 1830 let _map = Symbol('_map'); |
| 1833 let _MapBaseValueIterable$ = dart.generic(function(V) { | 1831 let _MapBaseValueIterable$ = dart.generic(function(V) { |
| 1834 class _MapBaseValueIterable extends IterableBase$(V) { | 1832 class _MapBaseValueIterable extends IterableBase$(V) { |
| 1835 _MapBaseValueIterable(map$) { | 1833 _MapBaseValueIterable(map$) { |
| 1836 this[_map] = map$; | 1834 this[_map] = map$; |
| 1837 super.IterableBase(); | 1835 super.IterableBase(); |
| 1838 } | 1836 } |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1854 get last() { | 1852 get last() { |
| 1855 return dart.as(this[_map].get(this[_map].keys.last), V); | 1853 return dart.as(this[_map].get(this[_map].keys.last), V); |
| 1856 } | 1854 } |
| 1857 get iterator() { | 1855 get iterator() { |
| 1858 return new _MapBaseValueIterator(this[_map]); | 1856 return new _MapBaseValueIterator(this[_map]); |
| 1859 } | 1857 } |
| 1860 } | 1858 } |
| 1861 _MapBaseValueIterable[dart.implements] = [_internal.EfficientLength]; | 1859 _MapBaseValueIterable[dart.implements] = [_internal.EfficientLength]; |
| 1862 return _MapBaseValueIterable; | 1860 return _MapBaseValueIterable; |
| 1863 }); | 1861 }); |
| 1864 let _MapBaseValueIterable = _MapBaseValueIterable$(dart.dynamic); | 1862 dart.defineLazyClassGeneric(exports, '_MapBaseValueIterable', {get: _MapBaseVa
lueIterable$}); |
| 1865 let _keys = Symbol('_keys'); | 1863 let _keys = Symbol('_keys'); |
| 1866 let _MapBaseValueIterator$ = dart.generic(function(V) { | 1864 let _MapBaseValueIterator$ = dart.generic(function(V) { |
| 1867 class _MapBaseValueIterator extends core.Object { | 1865 class _MapBaseValueIterator extends core.Object { |
| 1868 _MapBaseValueIterator(map) { | 1866 _MapBaseValueIterator(map) { |
| 1869 this[_map] = map; | 1867 this[_map] = map; |
| 1870 this[_keys] = map.keys.iterator; | 1868 this[_keys] = map.keys.iterator; |
| 1871 this[_current] = null; | 1869 this[_current] = null; |
| 1872 } | 1870 } |
| 1873 moveNext() { | 1871 moveNext() { |
| 1874 if (this[_keys].moveNext()) { | 1872 if (this[_keys].moveNext()) { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1935 } | 1933 } |
| 1936 get values() { | 1934 get values() { |
| 1937 return this[_map].values; | 1935 return this[_map].values; |
| 1938 } | 1936 } |
| 1939 } | 1937 } |
| 1940 MapView[dart.implements] = [core.Map$(K, V)]; | 1938 MapView[dart.implements] = [core.Map$(K, V)]; |
| 1941 return MapView; | 1939 return MapView; |
| 1942 }); | 1940 }); |
| 1943 let MapView = MapView$(dart.dynamic, dart.dynamic); | 1941 let MapView = MapView$(dart.dynamic, dart.dynamic); |
| 1944 let UnmodifiableMapView$ = dart.generic(function(K, V) { | 1942 let UnmodifiableMapView$ = dart.generic(function(K, V) { |
| 1945 class UnmodifiableMapView extends dart.mixin(_UnmodifiableMapMixin$(K, V)) { | 1943 class UnmodifiableMapView extends dart.mixin(_UnmodifiableMapMixin$(K, V)) {
} |
| 1946 } | |
| 1947 return UnmodifiableMapView; | 1944 return UnmodifiableMapView; |
| 1948 }); | 1945 }); |
| 1949 let UnmodifiableMapView = UnmodifiableMapView$(dart.dynamic, dart.dynamic); | 1946 let UnmodifiableMapView = UnmodifiableMapView$(dart.dynamic, dart.dynamic); |
| 1950 let _id = Symbol('_id'); | 1947 let _id = Symbol('_id'); |
| 1951 let _fillMapWithMappedIterable = Symbol('_fillMapWithMappedIterable'); | 1948 let _fillMapWithMappedIterable = Symbol('_fillMapWithMappedIterable'); |
| 1952 let _fillMapWithIterables = Symbol('_fillMapWithIterables'); | 1949 let _fillMapWithIterables = Symbol('_fillMapWithIterables'); |
| 1953 class Maps extends core.Object { | 1950 class Maps extends core.Object { |
| 1954 static containsValue(map, value) { | 1951 static containsValue(map, value) { |
| 1955 for (let v of map.values) { | 1952 for (let v of map.values) { |
| 1956 if (dart.equals(value, v)) { | 1953 if (dart.equals(value, v)) { |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2055 return new ListQueue(); | 2052 return new ListQueue(); |
| 2056 } | 2053 } |
| 2057 from(elements) { | 2054 from(elements) { |
| 2058 return new ListQueue.from(elements); | 2055 return new ListQueue.from(elements); |
| 2059 } | 2056 } |
| 2060 } | 2057 } |
| 2061 Queue[dart.implements] = [core.Iterable$(E), _internal.EfficientLength]; | 2058 Queue[dart.implements] = [core.Iterable$(E), _internal.EfficientLength]; |
| 2062 dart.defineNamedConstructor(Queue, 'from'); | 2059 dart.defineNamedConstructor(Queue, 'from'); |
| 2063 return Queue; | 2060 return Queue; |
| 2064 }); | 2061 }); |
| 2065 let Queue = Queue$(dart.dynamic); | 2062 dart.defineLazyClassGeneric(exports, 'Queue', {get: Queue$}); |
| 2066 let _element = Symbol('_element'); | 2063 let _element = Symbol('_element'); |
| 2067 let _link = Symbol('_link'); | 2064 let _link = Symbol('_link'); |
| 2068 let _asNonSentinelEntry = Symbol('_asNonSentinelEntry'); | 2065 let _asNonSentinelEntry = Symbol('_asNonSentinelEntry'); |
| 2069 let DoubleLinkedQueueEntry$ = dart.generic(function(E) { | 2066 let DoubleLinkedQueueEntry$ = dart.generic(function(E) { |
| 2070 class DoubleLinkedQueueEntry extends core.Object { | 2067 class DoubleLinkedQueueEntry extends core.Object { |
| 2071 DoubleLinkedQueueEntry(e) { | 2068 DoubleLinkedQueueEntry(e) { |
| 2072 this[_element] = e; | 2069 this[_element] = e; |
| 2073 this[_previous] = null; | 2070 this[_previous] = null; |
| 2074 this[_next] = null; | 2071 this[_next] = null; |
| 2075 } | 2072 } |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2137 let _elementCount = Symbol('_elementCount'); | 2134 let _elementCount = Symbol('_elementCount'); |
| 2138 let DoubleLinkedQueue$ = dart.generic(function(E) { | 2135 let DoubleLinkedQueue$ = dart.generic(function(E) { |
| 2139 class DoubleLinkedQueue extends IterableBase$(E) { | 2136 class DoubleLinkedQueue extends IterableBase$(E) { |
| 2140 DoubleLinkedQueue() { | 2137 DoubleLinkedQueue() { |
| 2141 this[_sentinel] = null; | 2138 this[_sentinel] = null; |
| 2142 this[_elementCount] = 0; | 2139 this[_elementCount] = 0; |
| 2143 super.IterableBase(); | 2140 super.IterableBase(); |
| 2144 this[_sentinel] = new _DoubleLinkedQueueEntrySentinel(); | 2141 this[_sentinel] = new _DoubleLinkedQueueEntrySentinel(); |
| 2145 } | 2142 } |
| 2146 from(elements) { | 2143 from(elements) { |
| 2147 let list = dart.as(new DoubleLinkedQueue(), Queue$(E)); | 2144 let list = dart.as(new DoubleLinkedQueue(), exports.Queue$(E)); |
| 2148 for (let e of dart.as(elements, core.Iterable$(E))) { | 2145 for (let e of dart.as(elements, core.Iterable$(E))) { |
| 2149 list.addLast(e); | 2146 list.addLast(e); |
| 2150 } | 2147 } |
| 2151 return dart.as(list, DoubleLinkedQueue$(E)); | 2148 return dart.as(list, exports.DoubleLinkedQueue$(E)); |
| 2152 } | 2149 } |
| 2153 get length() { | 2150 get length() { |
| 2154 return this[_elementCount]; | 2151 return this[_elementCount]; |
| 2155 } | 2152 } |
| 2156 addLast(value) { | 2153 addLast(value) { |
| 2157 this[_sentinel].prepend(value); | 2154 this[_sentinel].prepend(value); |
| 2158 this[_elementCount] = dart.notNull(this[_elementCount]) + 1; | 2155 this[_elementCount] = dart.notNull(this[_elementCount]) + 1; |
| 2159 } | 2156 } |
| 2160 addFirst(value) { | 2157 addFirst(value) { |
| 2161 this[_sentinel].append(value); | 2158 this[_sentinel].append(value); |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2244 entry = nextEntry; | 2241 entry = nextEntry; |
| 2245 } | 2242 } |
| 2246 } | 2243 } |
| 2247 get iterator() { | 2244 get iterator() { |
| 2248 return new _DoubleLinkedQueueIterator(this[_sentinel]); | 2245 return new _DoubleLinkedQueueIterator(this[_sentinel]); |
| 2249 } | 2246 } |
| 2250 toString() { | 2247 toString() { |
| 2251 return IterableBase.iterableToFullString(this, '{', '}'); | 2248 return IterableBase.iterableToFullString(this, '{', '}'); |
| 2252 } | 2249 } |
| 2253 } | 2250 } |
| 2254 DoubleLinkedQueue[dart.implements] = [Queue$(E)]; | 2251 DoubleLinkedQueue[dart.implements] = [exports.Queue$(E)]; |
| 2255 dart.defineNamedConstructor(DoubleLinkedQueue, 'from'); | 2252 dart.defineNamedConstructor(DoubleLinkedQueue, 'from'); |
| 2256 return DoubleLinkedQueue; | 2253 return DoubleLinkedQueue; |
| 2257 }); | 2254 }); |
| 2258 let DoubleLinkedQueue = DoubleLinkedQueue$(dart.dynamic); | 2255 dart.defineLazyClassGeneric(exports, 'DoubleLinkedQueue', {get: DoubleLinkedQu
eue$}); |
| 2259 let _nextEntry = Symbol('_nextEntry'); | 2256 let _nextEntry = Symbol('_nextEntry'); |
| 2260 let _DoubleLinkedQueueIterator$ = dart.generic(function(E) { | 2257 let _DoubleLinkedQueueIterator$ = dart.generic(function(E) { |
| 2261 class _DoubleLinkedQueueIterator extends core.Object { | 2258 class _DoubleLinkedQueueIterator extends core.Object { |
| 2262 _DoubleLinkedQueueIterator(sentinel) { | 2259 _DoubleLinkedQueueIterator(sentinel) { |
| 2263 this[_sentinel] = sentinel; | 2260 this[_sentinel] = sentinel; |
| 2264 this[_nextEntry] = sentinel[_next]; | 2261 this[_nextEntry] = sentinel[_next]; |
| 2265 this[_current] = null; | 2262 this[_current] = null; |
| 2266 } | 2263 } |
| 2267 moveNext() { | 2264 moveNext() { |
| 2268 if (!dart.notNull(core.identical(this[_nextEntry], this[_sentinel]))) { | 2265 if (!dart.notNull(core.identical(this[_nextEntry], this[_sentinel]))) { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2309 initialCapacity = ListQueue[_INITIAL_CAPACITY]; | 2306 initialCapacity = ListQueue[_INITIAL_CAPACITY]; |
| 2310 } else if (!dart.notNull(ListQueue[_isPowerOf2](initialCapacity))) { | 2307 } else if (!dart.notNull(ListQueue[_isPowerOf2](initialCapacity))) { |
| 2311 initialCapacity = ListQueue[_nextPowerOf2](initialCapacity); | 2308 initialCapacity = ListQueue[_nextPowerOf2](initialCapacity); |
| 2312 } | 2309 } |
| 2313 dart.assert(ListQueue[_isPowerOf2](initialCapacity)); | 2310 dart.assert(ListQueue[_isPowerOf2](initialCapacity)); |
| 2314 this[_table] = new core.List(initialCapacity); | 2311 this[_table] = new core.List(initialCapacity); |
| 2315 } | 2312 } |
| 2316 from(elements) { | 2313 from(elements) { |
| 2317 if (dart.is(elements, core.List)) { | 2314 if (dart.is(elements, core.List)) { |
| 2318 let length = elements.length; | 2315 let length = elements.length; |
| 2319 let queue = dart.as(new ListQueue(dart.notNull(length) + 1), ListQueue
$(E)); | 2316 let queue = dart.as(new ListQueue(dart.notNull(length) + 1), exports.L
istQueue$(E)); |
| 2320 dart.assert(dart.notNull(queue[_table].length) > dart.notNull(length))
; | 2317 dart.assert(dart.notNull(queue[_table].length) > dart.notNull(length))
; |
| 2321 let sourceList = elements; | 2318 let sourceList = elements; |
| 2322 queue[_table].setRange(0, length, dart.as(sourceList, core.Iterable$(E
)), 0); | 2319 queue[_table].setRange(0, length, dart.as(sourceList, core.Iterable$(E
)), 0); |
| 2323 queue[_tail] = length; | 2320 queue[_tail] = length; |
| 2324 return queue; | 2321 return queue; |
| 2325 } else { | 2322 } else { |
| 2326 let capacity = ListQueue[_INITIAL_CAPACITY]; | 2323 let capacity = ListQueue[_INITIAL_CAPACITY]; |
| 2327 if (dart.is(elements, _internal.EfficientLength)) { | 2324 if (dart.is(elements, _internal.EfficientLength)) { |
| 2328 capacity = elements.length; | 2325 capacity = elements.length; |
| 2329 } | 2326 } |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2564 [_preGrow](newElementCount) { | 2561 [_preGrow](newElementCount) { |
| 2565 dart.assert(dart.notNull(newElementCount) >= dart.notNull(this.length)); | 2562 dart.assert(dart.notNull(newElementCount) >= dart.notNull(this.length)); |
| 2566 newElementCount = dart.notNull(newElementCount) >> 1; | 2563 newElementCount = dart.notNull(newElementCount) >> 1; |
| 2567 let newCapacity = ListQueue[_nextPowerOf2](newElementCount); | 2564 let newCapacity = ListQueue[_nextPowerOf2](newElementCount); |
| 2568 let newTable = new core.List(newCapacity); | 2565 let newTable = new core.List(newCapacity); |
| 2569 this[_tail] = this[_writeToList](newTable); | 2566 this[_tail] = this[_writeToList](newTable); |
| 2570 this[_table] = newTable; | 2567 this[_table] = newTable; |
| 2571 this[_head] = 0; | 2568 this[_head] = 0; |
| 2572 } | 2569 } |
| 2573 } | 2570 } |
| 2574 ListQueue[dart.implements] = [Queue$(E)]; | 2571 ListQueue[dart.implements] = [exports.Queue$(E)]; |
| 2575 dart.defineNamedConstructor(ListQueue, 'from'); | 2572 dart.defineNamedConstructor(ListQueue, 'from'); |
| 2576 ListQueue._INITIAL_CAPACITY = 8; | 2573 ListQueue._INITIAL_CAPACITY = 8; |
| 2577 return ListQueue; | 2574 return ListQueue; |
| 2578 }); | 2575 }); |
| 2579 let ListQueue = ListQueue$(dart.dynamic); | 2576 dart.defineLazyClassGeneric(exports, 'ListQueue', {get: ListQueue$}); |
| 2580 let _queue = Symbol('_queue'); | 2577 let _queue = Symbol('_queue'); |
| 2581 let _end = Symbol('_end'); | 2578 let _end = Symbol('_end'); |
| 2582 let _position = Symbol('_position'); | 2579 let _position = Symbol('_position'); |
| 2583 let _ListQueueIterator$ = dart.generic(function(E) { | 2580 let _ListQueueIterator$ = dart.generic(function(E) { |
| 2584 class _ListQueueIterator extends core.Object { | 2581 class _ListQueueIterator extends core.Object { |
| 2585 _ListQueueIterator(queue) { | 2582 _ListQueueIterator(queue) { |
| 2586 this[_queue] = queue; | 2583 this[_queue] = queue; |
| 2587 this[_end] = queue[_tail]; | 2584 this[_end] = queue[_tail]; |
| 2588 this[_modificationCount] = queue[_modificationCount]; | 2585 this[_modificationCount] = queue[_modificationCount]; |
| 2589 this[_position] = queue[_head]; | 2586 this[_position] = queue[_head]; |
| (...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3093 let setOrMap = this[_tree]; | 3090 let setOrMap = this[_tree]; |
| 3094 let set = new SplayTreeSet(dart.as(setOrMap[_comparator], dart.throw_("U
nimplemented type (K, K) → int")), dart.as(setOrMap[_validKey], dart.throw_("Uni
mplemented type (dynamic) → bool"))); | 3091 let set = new SplayTreeSet(dart.as(setOrMap[_comparator], dart.throw_("U
nimplemented type (K, K) → int")), dart.as(setOrMap[_validKey], dart.throw_("Uni
mplemented type (dynamic) → bool"))); |
| 3095 set[_count] = this[_tree][_count]; | 3092 set[_count] = this[_tree][_count]; |
| 3096 set[_root] = set._copyNode(this[_tree][_root]); | 3093 set[_root] = set._copyNode(this[_tree][_root]); |
| 3097 return set; | 3094 return set; |
| 3098 } | 3095 } |
| 3099 } | 3096 } |
| 3100 _SplayTreeKeyIterable[dart.implements] = [_internal.EfficientLength]; | 3097 _SplayTreeKeyIterable[dart.implements] = [_internal.EfficientLength]; |
| 3101 return _SplayTreeKeyIterable; | 3098 return _SplayTreeKeyIterable; |
| 3102 }); | 3099 }); |
| 3103 let _SplayTreeKeyIterable = _SplayTreeKeyIterable$(dart.dynamic); | 3100 dart.defineLazyClassGeneric(exports, '_SplayTreeKeyIterable', {get: _SplayTree
KeyIterable$}); |
| 3104 let _SplayTreeValueIterable$ = dart.generic(function(K, V) { | 3101 let _SplayTreeValueIterable$ = dart.generic(function(K, V) { |
| 3105 class _SplayTreeValueIterable extends IterableBase$(V) { | 3102 class _SplayTreeValueIterable extends IterableBase$(V) { |
| 3106 _SplayTreeValueIterable(map$) { | 3103 _SplayTreeValueIterable(map$) { |
| 3107 this[_map] = map$; | 3104 this[_map] = map$; |
| 3108 super.IterableBase(); | 3105 super.IterableBase(); |
| 3109 } | 3106 } |
| 3110 get length() { | 3107 get length() { |
| 3111 return this[_map][_count]; | 3108 return this[_map][_count]; |
| 3112 } | 3109 } |
| 3113 get isEmpty() { | 3110 get isEmpty() { |
| 3114 return this[_map][_count] == 0; | 3111 return this[_map][_count] == 0; |
| 3115 } | 3112 } |
| 3116 get iterator() { | 3113 get iterator() { |
| 3117 return new _SplayTreeValueIterator(this[_map]); | 3114 return new _SplayTreeValueIterator(this[_map]); |
| 3118 } | 3115 } |
| 3119 } | 3116 } |
| 3120 _SplayTreeValueIterable[dart.implements] = [_internal.EfficientLength]; | 3117 _SplayTreeValueIterable[dart.implements] = [_internal.EfficientLength]; |
| 3121 return _SplayTreeValueIterable; | 3118 return _SplayTreeValueIterable; |
| 3122 }); | 3119 }); |
| 3123 let _SplayTreeValueIterable = _SplayTreeValueIterable$(dart.dynamic, dart.dyna
mic); | 3120 dart.defineLazyClassGeneric(exports, '_SplayTreeValueIterable', {get: _SplayTr
eeValueIterable$}); |
| 3124 let _SplayTreeKeyIterator$ = dart.generic(function(K) { | 3121 let _SplayTreeKeyIterator$ = dart.generic(function(K) { |
| 3125 class _SplayTreeKeyIterator extends _SplayTreeIterator$(K) { | 3122 class _SplayTreeKeyIterator extends _SplayTreeIterator$(K) { |
| 3126 _SplayTreeKeyIterator(map) { | 3123 _SplayTreeKeyIterator(map) { |
| 3127 super._SplayTreeIterator(map); | 3124 super._SplayTreeIterator(map); |
| 3128 } | 3125 } |
| 3129 [_getValue](node) { | 3126 [_getValue](node) { |
| 3130 return dart.as(node.key, K); | 3127 return dart.as(node.key, K); |
| 3131 } | 3128 } |
| 3132 } | 3129 } |
| 3133 return _SplayTreeKeyIterator; | 3130 return _SplayTreeKeyIterator; |
| (...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3694 f(dart.as(keys[i], E)); | 3691 f(dart.as(keys[i], E)); |
| 3695 if (keys !== dart.dload(this[_map], '_keys')) { | 3692 if (keys !== dart.dload(this[_map], '_keys')) { |
| 3696 throw new core.ConcurrentModificationError(this[_map]); | 3693 throw new core.ConcurrentModificationError(this[_map]); |
| 3697 } | 3694 } |
| 3698 } | 3695 } |
| 3699 } | 3696 } |
| 3700 } | 3697 } |
| 3701 HashMapKeyIterable[dart.implements] = [_internal.EfficientLength]; | 3698 HashMapKeyIterable[dart.implements] = [_internal.EfficientLength]; |
| 3702 return HashMapKeyIterable; | 3699 return HashMapKeyIterable; |
| 3703 }); | 3700 }); |
| 3704 let HashMapKeyIterable = HashMapKeyIterable$(dart.dynamic); | 3701 dart.defineLazyClassGeneric(exports, 'HashMapKeyIterable', {get: HashMapKeyIte
rable$}); |
| 3705 let _offset = Symbol('_offset'); | 3702 let _offset = Symbol('_offset'); |
| 3706 let HashMapKeyIterator$ = dart.generic(function(E) { | 3703 let HashMapKeyIterator$ = dart.generic(function(E) { |
| 3707 class HashMapKeyIterator extends core.Object { | 3704 class HashMapKeyIterator extends core.Object { |
| 3708 HashMapKeyIterator(map$, keys$) { | 3705 HashMapKeyIterator(map$, keys$) { |
| 3709 this[_map] = map$; | 3706 this[_map] = map$; |
| 3710 this[_keys] = keys$; | 3707 this[_keys] = keys$; |
| 3711 this[_offset] = 0; | 3708 this[_offset] = 0; |
| 3712 this[_current] = null; | 3709 this[_current] = null; |
| 3713 } | 3710 } |
| 3714 get current() { | 3711 get current() { |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3999 _LinkedHashMap[_deleteTableEntry](table, temporaryKey); | 3996 _LinkedHashMap[_deleteTableEntry](table, temporaryKey); |
| 4000 return table; | 3997 return table; |
| 4001 } | 3998 } |
| 4002 toString() { | 3999 toString() { |
| 4003 return Maps.mapToString(this); | 4000 return Maps.mapToString(this); |
| 4004 } | 4001 } |
| 4005 } | 4002 } |
| 4006 _LinkedHashMap[dart.implements] = [LinkedHashMap$(K, V), _js_helper.Internal
Map]; | 4003 _LinkedHashMap[dart.implements] = [LinkedHashMap$(K, V), _js_helper.Internal
Map]; |
| 4007 return _LinkedHashMap; | 4004 return _LinkedHashMap; |
| 4008 }); | 4005 }); |
| 4009 let _LinkedHashMap = _LinkedHashMap$(dart.dynamic, dart.dynamic); | 4006 dart.defineLazyClassGeneric(exports, '_LinkedHashMap', {get: _LinkedHashMap$})
; |
| 4010 let _LinkedIdentityHashMap$ = dart.generic(function(K, V) { | 4007 let _LinkedIdentityHashMap$ = dart.generic(function(K, V) { |
| 4011 class _LinkedIdentityHashMap extends _LinkedHashMap$(K, V) { | 4008 class _LinkedIdentityHashMap extends exports._LinkedHashMap$(K, V) { |
| 4012 [_computeHashCode](key) { | 4009 [_computeHashCode](key) { |
| 4013 return core.identityHashCode(key) & 0x3ffffff; | 4010 return core.identityHashCode(key) & 0x3ffffff; |
| 4014 } | 4011 } |
| 4015 [_findBucketIndex](bucket, key) { | 4012 [_findBucketIndex](bucket, key) { |
| 4016 if (bucket == null) | 4013 if (bucket == null) |
| 4017 return -1; | 4014 return -1; |
| 4018 let length = bucket.length; | 4015 let length = bucket.length; |
| 4019 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 1) { | 4016 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 1) { |
| 4020 let cell = dart.as(bucket[i], LinkedHashMapCell); | 4017 let cell = dart.as(bucket[i], LinkedHashMapCell); |
| 4021 if (core.identical(cell[_key], key)) | 4018 if (core.identical(cell[_key], key)) |
| 4022 return i; | 4019 return i; |
| 4023 } | 4020 } |
| 4024 return -1; | 4021 return -1; |
| 4025 } | 4022 } |
| 4026 } | 4023 } |
| 4027 return _LinkedIdentityHashMap; | 4024 return _LinkedIdentityHashMap; |
| 4028 }); | 4025 }); |
| 4029 let _LinkedIdentityHashMap = _LinkedIdentityHashMap$(dart.dynamic, dart.dynami
c); | 4026 dart.defineLazyClassGeneric(exports, '_LinkedIdentityHashMap', {get: _LinkedId
entityHashMap$}); |
| 4030 let _LinkedCustomHashMap$ = dart.generic(function(K, V) { | 4027 let _LinkedCustomHashMap$ = dart.generic(function(K, V) { |
| 4031 class _LinkedCustomHashMap extends _LinkedHashMap$(K, V) { | 4028 class _LinkedCustomHashMap extends exports._LinkedHashMap$(K, V) { |
| 4032 _LinkedCustomHashMap(equals$, hashCode$, validKey) { | 4029 _LinkedCustomHashMap(equals$, hashCode$, validKey) { |
| 4033 this[_equals] = equals$; | 4030 this[_equals] = equals$; |
| 4034 this[_hashCode] = hashCode$; | 4031 this[_hashCode] = hashCode$; |
| 4035 this[_validKey] = dart.as(validKey != null ? validKey : (v) => dart.is(v
, K), _Predicate); | 4032 this[_validKey] = dart.as(validKey != null ? validKey : (v) => dart.is(v
, K), _Predicate); |
| 4036 super._LinkedHashMap(); | 4033 super._LinkedHashMap(); |
| 4037 } | 4034 } |
| 4038 get(key) { | 4035 get(key) { |
| 4039 if (!dart.notNull(dart.dinvokef(this[_validKey], key))) | 4036 if (!dart.notNull(dart.dinvokef(this[_validKey], key))) |
| 4040 return null; | 4037 return null; |
| 4041 return super._get(key); | 4038 return super._get(key); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 4063 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 1) { | 4060 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 1) { |
| 4064 let cell = dart.as(bucket[i], LinkedHashMapCell); | 4061 let cell = dart.as(bucket[i], LinkedHashMapCell); |
| 4065 if (this[_equals](dart.as(cell[_key], K), dart.as(key, K))) | 4062 if (this[_equals](dart.as(cell[_key], K), dart.as(key, K))) |
| 4066 return i; | 4063 return i; |
| 4067 } | 4064 } |
| 4068 return -1; | 4065 return -1; |
| 4069 } | 4066 } |
| 4070 } | 4067 } |
| 4071 return _LinkedCustomHashMap; | 4068 return _LinkedCustomHashMap; |
| 4072 }); | 4069 }); |
| 4073 let _LinkedCustomHashMap = _LinkedCustomHashMap$(dart.dynamic, dart.dynamic); | 4070 dart.defineLazyClassGeneric(exports, '_LinkedCustomHashMap', {get: _LinkedCust
omHashMap$}); |
| 4074 class LinkedHashMapCell extends core.Object { | 4071 class LinkedHashMapCell extends core.Object { |
| 4075 LinkedHashMapCell(key$, value$) { | 4072 LinkedHashMapCell(key$, value$) { |
| 4076 this[_key] = key$; | 4073 this[_key] = key$; |
| 4077 this[_value] = value$; | 4074 this[_value] = value$; |
| 4078 this[_next] = null; | 4075 this[_next] = null; |
| 4079 this[_previous] = null; | 4076 this[_previous] = null; |
| 4080 } | 4077 } |
| 4081 } | 4078 } |
| 4082 let LinkedHashMapKeyIterable$ = dart.generic(function(E) { | 4079 let LinkedHashMapKeyIterable$ = dart.generic(function(E) { |
| 4083 class LinkedHashMapKeyIterable extends IterableBase$(E) { | 4080 class LinkedHashMapKeyIterable extends IterableBase$(E) { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 4105 if (!dart.equals(modifications, dart.dload(this[_map], '_modifications
'))) { | 4102 if (!dart.equals(modifications, dart.dload(this[_map], '_modifications
'))) { |
| 4106 throw new core.ConcurrentModificationError(this[_map]); | 4103 throw new core.ConcurrentModificationError(this[_map]); |
| 4107 } | 4104 } |
| 4108 cell = cell[_next]; | 4105 cell = cell[_next]; |
| 4109 } | 4106 } |
| 4110 } | 4107 } |
| 4111 } | 4108 } |
| 4112 LinkedHashMapKeyIterable[dart.implements] = [_internal.EfficientLength]; | 4109 LinkedHashMapKeyIterable[dart.implements] = [_internal.EfficientLength]; |
| 4113 return LinkedHashMapKeyIterable; | 4110 return LinkedHashMapKeyIterable; |
| 4114 }); | 4111 }); |
| 4115 let LinkedHashMapKeyIterable = LinkedHashMapKeyIterable$(dart.dynamic); | 4112 dart.defineLazyClassGeneric(exports, 'LinkedHashMapKeyIterable', {get: LinkedH
ashMapKeyIterable$}); |
| 4116 let _cell = Symbol('_cell'); | 4113 let _cell = Symbol('_cell'); |
| 4117 let LinkedHashMapKeyIterator$ = dart.generic(function(E) { | 4114 let LinkedHashMapKeyIterator$ = dart.generic(function(E) { |
| 4118 class LinkedHashMapKeyIterator extends core.Object { | 4115 class LinkedHashMapKeyIterator extends core.Object { |
| 4119 LinkedHashMapKeyIterator(map$, modifications$) { | 4116 LinkedHashMapKeyIterator(map$, modifications$) { |
| 4120 this[_map] = map$; | 4117 this[_map] = map$; |
| 4121 this[_modifications] = modifications$; | 4118 this[_modifications] = modifications$; |
| 4122 this[_cell] = null; | 4119 this[_cell] = null; |
| 4123 this[_current] = null; | 4120 this[_current] = null; |
| 4124 this[_cell] = dart.as(dart.dload(this[_map], '_first'), LinkedHashMapCel
l); | 4121 this[_cell] = dart.as(dart.dload(this[_map], '_first'), LinkedHashMapCel
l); |
| 4125 } | 4122 } |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4903 exports.MapBase$ = MapBase$; | 4900 exports.MapBase$ = MapBase$; |
| 4904 exports.MapMixin = MapMixin; | 4901 exports.MapMixin = MapMixin; |
| 4905 exports.MapMixin$ = MapMixin$; | 4902 exports.MapMixin$ = MapMixin$; |
| 4906 exports.UnmodifiableMapBase = UnmodifiableMapBase; | 4903 exports.UnmodifiableMapBase = UnmodifiableMapBase; |
| 4907 exports.UnmodifiableMapBase$ = UnmodifiableMapBase$; | 4904 exports.UnmodifiableMapBase$ = UnmodifiableMapBase$; |
| 4908 exports.MapView = MapView; | 4905 exports.MapView = MapView; |
| 4909 exports.MapView$ = MapView$; | 4906 exports.MapView$ = MapView$; |
| 4910 exports.UnmodifiableMapView = UnmodifiableMapView; | 4907 exports.UnmodifiableMapView = UnmodifiableMapView; |
| 4911 exports.UnmodifiableMapView$ = UnmodifiableMapView$; | 4908 exports.UnmodifiableMapView$ = UnmodifiableMapView$; |
| 4912 exports.Maps = Maps; | 4909 exports.Maps = Maps; |
| 4913 exports.Queue = Queue; | |
| 4914 exports.Queue$ = Queue$; | |
| 4915 exports.DoubleLinkedQueueEntry = DoubleLinkedQueueEntry; | 4910 exports.DoubleLinkedQueueEntry = DoubleLinkedQueueEntry; |
| 4916 exports.DoubleLinkedQueueEntry$ = DoubleLinkedQueueEntry$; | 4911 exports.DoubleLinkedQueueEntry$ = DoubleLinkedQueueEntry$; |
| 4917 exports.DoubleLinkedQueue = DoubleLinkedQueue; | |
| 4918 exports.DoubleLinkedQueue$ = DoubleLinkedQueue$; | |
| 4919 exports.ListQueue = ListQueue; | |
| 4920 exports.ListQueue$ = ListQueue$; | |
| 4921 exports.SplayTreeMap = SplayTreeMap; | 4912 exports.SplayTreeMap = SplayTreeMap; |
| 4922 exports.SplayTreeMap$ = SplayTreeMap$; | 4913 exports.SplayTreeMap$ = SplayTreeMap$; |
| 4923 exports.SplayTreeSet = SplayTreeSet; | 4914 exports.SplayTreeSet = SplayTreeSet; |
| 4924 exports.SplayTreeSet$ = SplayTreeSet$; | 4915 exports.SplayTreeSet$ = SplayTreeSet$; |
| 4925 exports.HashMapKeyIterable = HashMapKeyIterable; | |
| 4926 exports.HashMapKeyIterable$ = HashMapKeyIterable$; | |
| 4927 exports.HashMapKeyIterator = HashMapKeyIterator; | 4916 exports.HashMapKeyIterator = HashMapKeyIterator; |
| 4928 exports.HashMapKeyIterator$ = HashMapKeyIterator$; | 4917 exports.HashMapKeyIterator$ = HashMapKeyIterator$; |
| 4929 exports.LinkedHashMapCell = LinkedHashMapCell; | 4918 exports.LinkedHashMapCell = LinkedHashMapCell; |
| 4930 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; | |
| 4931 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; | |
| 4932 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; | 4919 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; |
| 4933 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; | 4920 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; |
| 4934 exports.HashSetIterator = HashSetIterator; | 4921 exports.HashSetIterator = HashSetIterator; |
| 4935 exports.HashSetIterator$ = HashSetIterator$; | 4922 exports.HashSetIterator$ = HashSetIterator$; |
| 4936 exports.LinkedHashSetCell = LinkedHashSetCell; | 4923 exports.LinkedHashSetCell = LinkedHashSetCell; |
| 4937 exports.LinkedHashSetIterator = LinkedHashSetIterator; | 4924 exports.LinkedHashSetIterator = LinkedHashSetIterator; |
| 4938 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; | 4925 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; |
| 4939 })(collection || (collection = {})); | 4926 })(collection || (collection = {})); |
| OLD | NEW |