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

Side by Side Diff: lib/runtime/dart/collection.js

Issue 1700153002: Wrapperless dart:html and friends (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 dart_library.library('dart/collection', null, /* Imports */[ 1 dart_library.library('dart/collection', null, /* Imports */[
2 'dart/_runtime', 2 'dart/_runtime',
3 'dart/core' 3 'dart/core'
4 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
5 'dart/_internal', 5 'dart/_internal',
6 'dart/_js_helper', 6 'dart/_js_helper',
7 'dart/math' 7 'dart/math'
8 ], function(exports, dart, core, _internal, _js_helper, math) { 8 ], function(exports, dart, core, _internal, _js_helper, math) {
9 'use strict'; 9 'use strict';
10 let dartx = dart.dartx; 10 let dartx = dart.dartx;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 equals = _defaultEquals; 75 equals = _defaultEquals;
76 } 76 }
77 } 77 }
78 return new (_CustomHashMap$(K, V))(equals, hashCode, isValidKey); 78 return new (_CustomHashMap$(K, V))(equals, hashCode, isValidKey);
79 } 79 }
80 static identity() { 80 static identity() {
81 return new (_IdentityHashMap$(K, V))(); 81 return new (_IdentityHashMap$(K, V))();
82 } 82 }
83 static from(other) { 83 static from(other) {
84 let result = HashMap$(K, V).new(); 84 let result = HashMap$(K, V).new();
85 other.forEach(dart.fn((k, v) => { 85 other[dartx.forEach](dart.fn((k, v) => {
86 result.set(dart.as(k, K), dart.as(v, V)); 86 result.set(dart.as(k, K), dart.as(v, V));
87 }, dart.void, [dart.dynamic, dart.dynamic])); 87 }, dart.void, [dart.dynamic, dart.dynamic]));
88 return result; 88 return result;
89 } 89 }
90 static fromIterable(iterable, opts) { 90 static fromIterable(iterable, opts) {
91 let key = opts && 'key' in opts ? opts.key : null; 91 let key = opts && 'key' in opts ? opts.key : null;
92 let value = opts && 'value' in opts ? opts.value : null; 92 let value = opts && 'value' in opts ? opts.value : null;
93 let map = HashMap$(K, V).new(); 93 let map = HashMap$(K, V).new();
94 Maps._fillMapWithMappedIterable(map, iterable, key, value); 94 Maps._fillMapWithMappedIterable(map, iterable, key, value);
95 return map; 95 return map;
(...skipping 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after
1235 equals = _defaultEquals; 1235 equals = _defaultEquals;
1236 } 1236 }
1237 } 1237 }
1238 return new (_LinkedCustomHashMap$(K, V))(equals, hashCode, isValidKey); 1238 return new (_LinkedCustomHashMap$(K, V))(equals, hashCode, isValidKey);
1239 } 1239 }
1240 static identity() { 1240 static identity() {
1241 return new (_LinkedIdentityHashMap$(K, V))(); 1241 return new (_LinkedIdentityHashMap$(K, V))();
1242 } 1242 }
1243 static from(other) { 1243 static from(other) {
1244 let result = LinkedHashMap$(K, V).new(); 1244 let result = LinkedHashMap$(K, V).new();
1245 other.forEach(dart.fn((k, v) => { 1245 other[dartx.forEach](dart.fn((k, v) => {
1246 result.set(dart.as(k, K), dart.as(v, V)); 1246 result.set(dart.as(k, K), dart.as(v, V));
1247 }, dart.void, [dart.dynamic, dart.dynamic])); 1247 }, dart.void, [dart.dynamic, dart.dynamic]));
1248 return result; 1248 return result;
1249 } 1249 }
1250 static fromIterable(iterable, opts) { 1250 static fromIterable(iterable, opts) {
1251 let key = opts && 'key' in opts ? opts.key : null; 1251 let key = opts && 'key' in opts ? opts.key : null;
1252 let value = opts && 'value' in opts ? opts.value : null; 1252 let value = opts && 'value' in opts ? opts.value : null;
1253 let map = LinkedHashMap$(K, V).new(); 1253 let map = LinkedHashMap$(K, V).new();
1254 Maps._fillMapWithMappedIterable(map, iterable, key, value); 1254 Maps._fillMapWithMappedIterable(map, iterable, key, value);
1255 return map; 1255 return map;
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
2133 const MapMixin$ = dart.generic(function(K, V) { 2133 const MapMixin$ = dart.generic(function(K, V) {
2134 class MapMixin extends core.Object { 2134 class MapMixin extends core.Object {
2135 forEach(action) { 2135 forEach(action) {
2136 dart.as(action, dart.functionType(dart.void, [K, V])); 2136 dart.as(action, dart.functionType(dart.void, [K, V]));
2137 for (let key of this.keys) { 2137 for (let key of this.keys) {
2138 action(key, this.get(key)); 2138 action(key, this.get(key));
2139 } 2139 }
2140 } 2140 }
2141 addAll(other) { 2141 addAll(other) {
2142 dart.as(other, core.Map$(K, V)); 2142 dart.as(other, core.Map$(K, V));
2143 for (let key of other.keys) { 2143 for (let key of other[dartx.keys]) {
2144 this.set(key, other.get(key)); 2144 this.set(key, other[dartx.get](key));
2145 } 2145 }
2146 } 2146 }
2147 containsValue(value) { 2147 containsValue(value) {
2148 for (let key of this.keys) { 2148 for (let key of this.keys) {
2149 if (dart.equals(this.get(key), value)) return true; 2149 if (dart.equals(this.get(key), value)) return true;
2150 } 2150 }
2151 return false; 2151 return false;
2152 } 2152 }
2153 putIfAbsent(key, ifAbsent) { 2153 putIfAbsent(key, ifAbsent) {
2154 dart.as(key, K); 2154 dart.as(key, K);
(...skipping 25 matching lines...) Expand all
2180 MapMixin[dart.implements] = () => [core.Map$(K, V)]; 2180 MapMixin[dart.implements] = () => [core.Map$(K, V)];
2181 dart.setSignature(MapMixin, { 2181 dart.setSignature(MapMixin, {
2182 methods: () => ({ 2182 methods: () => ({
2183 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]], 2183 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]],
2184 addAll: [dart.void, [core.Map$(K, V)]], 2184 addAll: [dart.void, [core.Map$(K, V)]],
2185 containsValue: [core.bool, [core.Object]], 2185 containsValue: [core.bool, [core.Object]],
2186 putIfAbsent: [V, [K, dart.functionType(V, [])]], 2186 putIfAbsent: [V, [K, dart.functionType(V, [])]],
2187 containsKey: [core.bool, [core.Object]] 2187 containsKey: [core.bool, [core.Object]]
2188 }) 2188 })
2189 }); 2189 });
2190 dart.defineExtensionMembers(MapMixin, [
2191 'forEach',
2192 'addAll',
2193 'containsValue',
2194 'putIfAbsent',
2195 'containsKey',
2196 'length',
2197 'isEmpty',
2198 'isNotEmpty',
2199 'values'
2200 ]);
2190 return MapMixin; 2201 return MapMixin;
2191 }); 2202 });
2192 let MapMixin = MapMixin$(); 2203 let MapMixin = MapMixin$();
2193 const MapBase$ = dart.generic(function(K, V) { 2204 const MapBase$ = dart.generic(function(K, V) {
2194 class MapBase extends dart.mixin(core.Object, MapMixin$(K, V)) {} 2205 class MapBase extends dart.mixin(core.Object, MapMixin$(K, V)) {}
2195 return MapBase; 2206 return MapBase;
2196 }); 2207 });
2197 let MapBase = MapBase$(); 2208 let MapBase = MapBase$();
2198 const _UnmodifiableMapMixin$ = dart.generic(function(K, V) { 2209 const _UnmodifiableMapMixin$ = dart.generic(function(K, V) {
2199 class _UnmodifiableMapMixin extends core.Object { 2210 class _UnmodifiableMapMixin extends core.Object {
(...skipping 22 matching lines...) Expand all
2222 _UnmodifiableMapMixin[dart.implements] = () => [core.Map$(K, V)]; 2233 _UnmodifiableMapMixin[dart.implements] = () => [core.Map$(K, V)];
2223 dart.setSignature(_UnmodifiableMapMixin, { 2234 dart.setSignature(_UnmodifiableMapMixin, {
2224 methods: () => ({ 2235 methods: () => ({
2225 set: [dart.void, [K, V]], 2236 set: [dart.void, [K, V]],
2226 addAll: [dart.void, [core.Map$(K, V)]], 2237 addAll: [dart.void, [core.Map$(K, V)]],
2227 clear: [dart.void, []], 2238 clear: [dart.void, []],
2228 remove: [V, [core.Object]], 2239 remove: [V, [core.Object]],
2229 putIfAbsent: [V, [K, dart.functionType(V, [])]] 2240 putIfAbsent: [V, [K, dart.functionType(V, [])]]
2230 }) 2241 })
2231 }); 2242 });
2243 dart.defineExtensionMembers(_UnmodifiableMapMixin, [
2244 'set',
2245 'addAll',
2246 'clear',
2247 'remove',
2248 'putIfAbsent'
2249 ]);
2232 return _UnmodifiableMapMixin; 2250 return _UnmodifiableMapMixin;
2233 }); 2251 });
2234 let _UnmodifiableMapMixin = _UnmodifiableMapMixin$(); 2252 let _UnmodifiableMapMixin = _UnmodifiableMapMixin$();
2235 const UnmodifiableMapBase$ = dart.generic(function(K, V) { 2253 const UnmodifiableMapBase$ = dart.generic(function(K, V) {
2236 class UnmodifiableMapBase extends dart.mixin(MapBase$(K, V), _UnmodifiableMa pMixin$(K, V)) { 2254 class UnmodifiableMapBase extends dart.mixin(MapBase$(K, V), _UnmodifiableMa pMixin$(K, V)) {
2237 UnmodifiableMapBase() { 2255 UnmodifiableMapBase() {
2238 super.MapBase(...arguments); 2256 super.MapBase(...arguments);
2239 } 2257 }
2240 } 2258 }
2241 return UnmodifiableMapBase; 2259 return UnmodifiableMapBase;
2242 }); 2260 });
2243 let UnmodifiableMapBase = UnmodifiableMapBase$(); 2261 let UnmodifiableMapBase = UnmodifiableMapBase$();
2244 const _map = Symbol('_map'); 2262 const _map = Symbol('_map');
2245 const _MapBaseValueIterable$ = dart.generic(function(V) { 2263 const _MapBaseValueIterable$ = dart.generic(function(V) {
2246 class _MapBaseValueIterable extends IterableBase$(V) { 2264 class _MapBaseValueIterable extends IterableBase$(V) {
2247 _MapBaseValueIterable(map) { 2265 _MapBaseValueIterable(map) {
2248 this[_map] = map; 2266 this[_map] = map;
2249 super.IterableBase(); 2267 super.IterableBase();
2250 } 2268 }
2251 get length() { 2269 get length() {
2252 return this[_map].length; 2270 return this[_map][dartx.length];
2253 } 2271 }
2254 get isEmpty() { 2272 get isEmpty() {
2255 return this[_map].isEmpty; 2273 return this[_map][dartx.isEmpty];
2256 } 2274 }
2257 get isNotEmpty() { 2275 get isNotEmpty() {
2258 return this[_map].isNotEmpty; 2276 return this[_map][dartx.isNotEmpty];
2259 } 2277 }
2260 get first() { 2278 get first() {
2261 return dart.as(this[_map].get(this[_map].keys[dartx.first]), V); 2279 return dart.as(this[_map][dartx.get](this[_map][dartx.keys][dartx.first] ), V);
2262 } 2280 }
2263 get single() { 2281 get single() {
2264 return dart.as(this[_map].get(this[_map].keys[dartx.single]), V); 2282 return dart.as(this[_map][dartx.get](this[_map][dartx.keys][dartx.single ]), V);
2265 } 2283 }
2266 get last() { 2284 get last() {
2267 return dart.as(this[_map].get(this[_map].keys[dartx.last]), V); 2285 return dart.as(this[_map][dartx.get](this[_map][dartx.keys][dartx.last]) , V);
2268 } 2286 }
2269 get iterator() { 2287 get iterator() {
2270 return new (_MapBaseValueIterator$(V))(this[_map]); 2288 return new (_MapBaseValueIterator$(V))(this[_map]);
2271 } 2289 }
2272 } 2290 }
2273 _MapBaseValueIterable[dart.implements] = () => [_internal.EfficientLength]; 2291 _MapBaseValueIterable[dart.implements] = () => [_internal.EfficientLength];
2274 dart.setSignature(_MapBaseValueIterable, { 2292 dart.setSignature(_MapBaseValueIterable, {
2275 constructors: () => ({_MapBaseValueIterable: [_MapBaseValueIterable$(V), [ core.Map]]}) 2293 constructors: () => ({_MapBaseValueIterable: [_MapBaseValueIterable$(V), [ core.Map]]})
2276 }); 2294 });
2277 dart.defineExtensionMembers(_MapBaseValueIterable, [ 2295 dart.defineExtensionMembers(_MapBaseValueIterable, [
2278 'length', 2296 'length',
2279 'isEmpty', 2297 'isEmpty',
2280 'isNotEmpty', 2298 'isNotEmpty',
2281 'first', 2299 'first',
2282 'single', 2300 'single',
2283 'last', 2301 'last',
2284 'iterator' 2302 'iterator'
2285 ]); 2303 ]);
2286 return _MapBaseValueIterable; 2304 return _MapBaseValueIterable;
2287 }); 2305 });
2288 let _MapBaseValueIterable = _MapBaseValueIterable$(); 2306 let _MapBaseValueIterable = _MapBaseValueIterable$();
2289 const _keys = Symbol('_keys'); 2307 const _keys = Symbol('_keys');
2290 const _MapBaseValueIterator$ = dart.generic(function(V) { 2308 const _MapBaseValueIterator$ = dart.generic(function(V) {
2291 class _MapBaseValueIterator extends core.Object { 2309 class _MapBaseValueIterator extends core.Object {
2292 _MapBaseValueIterator(map) { 2310 _MapBaseValueIterator(map) {
2293 this[_map] = map; 2311 this[_map] = map;
2294 this[_keys] = map.keys[dartx.iterator]; 2312 this[_keys] = map[dartx.keys][dartx.iterator];
2295 this[_current] = null; 2313 this[_current] = null;
2296 } 2314 }
2297 moveNext() { 2315 moveNext() {
2298 if (dart.notNull(this[_keys].moveNext())) { 2316 if (dart.notNull(this[_keys].moveNext())) {
2299 this[_current] = dart.as(this[_map].get(this[_keys].current), V); 2317 this[_current] = dart.as(this[_map][dartx.get](this[_keys].current), V );
2300 return true; 2318 return true;
2301 } 2319 }
2302 this[_current] = null; 2320 this[_current] = null;
2303 return false; 2321 return false;
2304 } 2322 }
2305 get current() { 2323 get current() {
2306 return this[_current]; 2324 return this[_current];
2307 } 2325 }
2308 } 2326 }
2309 _MapBaseValueIterator[dart.implements] = () => [core.Iterator$(V)]; 2327 _MapBaseValueIterator[dart.implements] = () => [core.Iterator$(V)];
2310 dart.setSignature(_MapBaseValueIterator, { 2328 dart.setSignature(_MapBaseValueIterator, {
2311 constructors: () => ({_MapBaseValueIterator: [_MapBaseValueIterator$(V), [ core.Map]]}), 2329 constructors: () => ({_MapBaseValueIterator: [_MapBaseValueIterator$(V), [ core.Map]]}),
2312 methods: () => ({moveNext: [core.bool, []]}) 2330 methods: () => ({moveNext: [core.bool, []]})
2313 }); 2331 });
2314 return _MapBaseValueIterator; 2332 return _MapBaseValueIterator;
2315 }); 2333 });
2316 let _MapBaseValueIterator = _MapBaseValueIterator$(); 2334 let _MapBaseValueIterator = _MapBaseValueIterator$();
2317 const MapView$ = dart.generic(function(K, V) { 2335 const MapView$ = dart.generic(function(K, V) {
2318 class MapView extends core.Object { 2336 class MapView extends core.Object {
2319 MapView(map) { 2337 MapView(map) {
2320 this[_map] = map; 2338 this[_map] = map;
2321 } 2339 }
2322 get(key) { 2340 get(key) {
2323 return this[_map].get(key); 2341 return this[_map][dartx.get](key);
2324 } 2342 }
2325 set(key, value) { 2343 set(key, value) {
2326 dart.as(key, K); 2344 dart.as(key, K);
2327 dart.as(value, V); 2345 dart.as(value, V);
2328 this[_map].set(key, value); 2346 this[_map][dartx.set](key, value);
2329 return value; 2347 return value;
2330 } 2348 }
2331 addAll(other) { 2349 addAll(other) {
2332 dart.as(other, core.Map$(K, V)); 2350 dart.as(other, core.Map$(K, V));
2333 this[_map].addAll(other); 2351 this[_map][dartx.addAll](other);
2334 } 2352 }
2335 clear() { 2353 clear() {
2336 this[_map].clear(); 2354 this[_map][dartx.clear]();
2337 } 2355 }
2338 putIfAbsent(key, ifAbsent) { 2356 putIfAbsent(key, ifAbsent) {
2339 dart.as(key, K); 2357 dart.as(key, K);
2340 dart.as(ifAbsent, dart.functionType(V, [])); 2358 dart.as(ifAbsent, dart.functionType(V, []));
2341 return this[_map].putIfAbsent(key, ifAbsent); 2359 return this[_map][dartx.putIfAbsent](key, ifAbsent);
2342 } 2360 }
2343 containsKey(key) { 2361 containsKey(key) {
2344 return this[_map].containsKey(key); 2362 return this[_map][dartx.containsKey](key);
2345 } 2363 }
2346 containsValue(value) { 2364 containsValue(value) {
2347 return this[_map].containsValue(value); 2365 return this[_map][dartx.containsValue](value);
2348 } 2366 }
2349 forEach(action) { 2367 forEach(action) {
2350 dart.as(action, dart.functionType(dart.void, [K, V])); 2368 dart.as(action, dart.functionType(dart.void, [K, V]));
2351 this[_map].forEach(action); 2369 this[_map][dartx.forEach](action);
2352 } 2370 }
2353 get isEmpty() { 2371 get isEmpty() {
2354 return this[_map].isEmpty; 2372 return this[_map][dartx.isEmpty];
2355 } 2373 }
2356 get isNotEmpty() { 2374 get isNotEmpty() {
2357 return this[_map].isNotEmpty; 2375 return this[_map][dartx.isNotEmpty];
2358 } 2376 }
2359 get length() { 2377 get length() {
2360 return this[_map].length; 2378 return this[_map][dartx.length];
2361 } 2379 }
2362 get keys() { 2380 get keys() {
2363 return this[_map].keys; 2381 return this[_map][dartx.keys];
2364 } 2382 }
2365 remove(key) { 2383 remove(key) {
2366 return this[_map].remove(key); 2384 return this[_map][dartx.remove](key);
2367 } 2385 }
2368 toString() { 2386 toString() {
2369 return dart.toString(this[_map]); 2387 return dart.toString(this[_map]);
2370 } 2388 }
2371 get values() { 2389 get values() {
2372 return this[_map].values; 2390 return this[_map][dartx.values];
2373 } 2391 }
2374 } 2392 }
2375 MapView[dart.implements] = () => [core.Map$(K, V)]; 2393 MapView[dart.implements] = () => [core.Map$(K, V)];
2376 dart.setSignature(MapView, { 2394 dart.setSignature(MapView, {
2377 constructors: () => ({MapView: [MapView$(K, V), [core.Map$(K, V)]]}), 2395 constructors: () => ({MapView: [MapView$(K, V), [core.Map$(K, V)]]}),
2378 methods: () => ({ 2396 methods: () => ({
2379 get: [V, [core.Object]], 2397 get: [V, [core.Object]],
2380 set: [dart.void, [K, V]], 2398 set: [dart.void, [K, V]],
2381 addAll: [dart.void, [core.Map$(K, V)]], 2399 addAll: [dart.void, [core.Map$(K, V)]],
2382 clear: [dart.void, []], 2400 clear: [dart.void, []],
2383 putIfAbsent: [V, [K, dart.functionType(V, [])]], 2401 putIfAbsent: [V, [K, dart.functionType(V, [])]],
2384 containsKey: [core.bool, [core.Object]], 2402 containsKey: [core.bool, [core.Object]],
2385 containsValue: [core.bool, [core.Object]], 2403 containsValue: [core.bool, [core.Object]],
2386 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]], 2404 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]],
2387 remove: [V, [core.Object]] 2405 remove: [V, [core.Object]]
2388 }) 2406 })
2389 }); 2407 });
2408 dart.defineExtensionMembers(MapView, [
2409 'get',
2410 'set',
2411 'addAll',
2412 'clear',
2413 'putIfAbsent',
2414 'containsKey',
2415 'containsValue',
2416 'forEach',
2417 'remove',
2418 'isEmpty',
2419 'isNotEmpty',
2420 'length',
2421 'keys',
2422 'values'
2423 ]);
2390 return MapView; 2424 return MapView;
2391 }); 2425 });
2392 let MapView = MapView$(); 2426 let MapView = MapView$();
2393 const UnmodifiableMapView$ = dart.generic(function(K, V) { 2427 const UnmodifiableMapView$ = dart.generic(function(K, V) {
2394 class UnmodifiableMapView extends dart.mixin(MapView$(K, V), _UnmodifiableMa pMixin$(K, V)) { 2428 class UnmodifiableMapView extends dart.mixin(MapView$(K, V), _UnmodifiableMa pMixin$(K, V)) {
2395 UnmodifiableMapView() { 2429 UnmodifiableMapView() {
2396 super.MapView(...arguments); 2430 super.MapView(...arguments);
2397 } 2431 }
2398 } 2432 }
2399 return UnmodifiableMapView; 2433 return UnmodifiableMapView;
2400 }); 2434 });
2401 let UnmodifiableMapView = UnmodifiableMapView$(); 2435 let UnmodifiableMapView = UnmodifiableMapView$();
2402 class Maps extends core.Object { 2436 class Maps extends core.Object {
2403 static containsValue(map, value) { 2437 static containsValue(map, value) {
2404 for (let v of map.values) { 2438 for (let v of map[dartx.values]) {
2405 if (dart.equals(value, v)) { 2439 if (dart.equals(value, v)) {
2406 return true; 2440 return true;
2407 } 2441 }
2408 } 2442 }
2409 return false; 2443 return false;
2410 } 2444 }
2411 static containsKey(map, key) { 2445 static containsKey(map, key) {
2412 for (let k of map.keys) { 2446 for (let k of map[dartx.keys]) {
2413 if (dart.equals(key, k)) { 2447 if (dart.equals(key, k)) {
2414 return true; 2448 return true;
2415 } 2449 }
2416 } 2450 }
2417 return false; 2451 return false;
2418 } 2452 }
2419 static putIfAbsent(map, key, ifAbsent) { 2453 static putIfAbsent(map, key, ifAbsent) {
2420 if (dart.notNull(map.containsKey(key))) { 2454 if (dart.notNull(map[dartx.containsKey](key))) {
2421 return map.get(key); 2455 return map[dartx.get](key);
2422 } 2456 }
2423 let v = ifAbsent(); 2457 let v = ifAbsent();
2424 map.set(key, v); 2458 map[dartx.set](key, v);
2425 return v; 2459 return v;
2426 } 2460 }
2427 static clear(map) { 2461 static clear(map) {
2428 for (let k of map.keys[dartx.toList]()) { 2462 for (let k of map[dartx.keys][dartx.toList]()) {
2429 map.remove(k); 2463 map[dartx.remove](k);
2430 } 2464 }
2431 } 2465 }
2432 static forEach(map, f) { 2466 static forEach(map, f) {
2433 for (let k of map.keys) { 2467 for (let k of map[dartx.keys]) {
2434 dart.dcall(f, k, map.get(k)); 2468 dart.dcall(f, k, map[dartx.get](k));
2435 } 2469 }
2436 } 2470 }
2437 static getValues(map) { 2471 static getValues(map) {
2438 return map.keys[dartx.map](dart.fn(key => map.get(key))); 2472 return map[dartx.keys][dartx.map](dart.fn(key => map[dartx.get](key)));
2439 } 2473 }
2440 static length(map) { 2474 static length(map) {
2441 return map.keys[dartx.length]; 2475 return map[dartx.keys][dartx.length];
2442 } 2476 }
2443 static isEmpty(map) { 2477 static isEmpty(map) {
2444 return map.keys[dartx.isEmpty]; 2478 return map[dartx.keys][dartx.isEmpty];
2445 } 2479 }
2446 static isNotEmpty(map) { 2480 static isNotEmpty(map) {
2447 return map.keys[dartx.isNotEmpty]; 2481 return map[dartx.keys][dartx.isNotEmpty];
2448 } 2482 }
2449 static mapToString(m) { 2483 static mapToString(m) {
2450 if (dart.notNull(IterableBase._isToStringVisiting(m))) { 2484 if (dart.notNull(IterableBase._isToStringVisiting(m))) {
2451 return '{...}'; 2485 return '{...}';
2452 } 2486 }
2453 let result = new core.StringBuffer(); 2487 let result = new core.StringBuffer();
2454 try { 2488 try {
2455 IterableBase._toStringVisiting[dartx.add](m); 2489 IterableBase._toStringVisiting[dartx.add](m);
2456 result.write('{'); 2490 result.write('{');
2457 let first = true; 2491 let first = true;
2458 m.forEach(dart.fn((k, v) => { 2492 m[dartx.forEach](dart.fn((k, v) => {
2459 if (!first) { 2493 if (!first) {
2460 result.write(', '); 2494 result.write(', ');
2461 } 2495 }
2462 first = false; 2496 first = false;
2463 result.write(k); 2497 result.write(k);
2464 result.write(': '); 2498 result.write(': ');
2465 result.write(v); 2499 result.write(v);
2466 }, dart.void, [dart.dynamic, dart.dynamic])); 2500 }, dart.void, [dart.dynamic, dart.dynamic]));
2467 result.write('}'); 2501 result.write('}');
2468 } finally { 2502 } finally {
2469 dart.assert(core.identical(IterableBase._toStringVisiting[dartx.last], m )); 2503 dart.assert(core.identical(IterableBase._toStringVisiting[dartx.last], m ));
2470 IterableBase._toStringVisiting[dartx.removeLast](); 2504 IterableBase._toStringVisiting[dartx.removeLast]();
2471 } 2505 }
2472 return dart.toString(result); 2506 return dart.toString(result);
2473 } 2507 }
2474 static _id(x) { 2508 static _id(x) {
2475 return x; 2509 return x;
2476 } 2510 }
2477 static _fillMapWithMappedIterable(map, iterable, key, value) { 2511 static _fillMapWithMappedIterable(map, iterable, key, value) {
2478 if (key == null) key = Maps._id; 2512 if (key == null) key = Maps._id;
2479 if (value == null) value = Maps._id; 2513 if (value == null) value = Maps._id;
2480 for (let element of iterable) { 2514 for (let element of iterable) {
2481 map.set(dart.dcall(key, element), dart.dcall(value, element)); 2515 map[dartx.set](dart.dcall(key, element), dart.dcall(value, element));
2482 } 2516 }
2483 } 2517 }
2484 static _fillMapWithIterables(map, keys, values) { 2518 static _fillMapWithIterables(map, keys, values) {
2485 let keyIterator = keys[dartx.iterator]; 2519 let keyIterator = keys[dartx.iterator];
2486 let valueIterator = values[dartx.iterator]; 2520 let valueIterator = values[dartx.iterator];
2487 let hasNextKey = keyIterator.moveNext(); 2521 let hasNextKey = keyIterator.moveNext();
2488 let hasNextValue = valueIterator.moveNext(); 2522 let hasNextValue = valueIterator.moveNext();
2489 while (dart.notNull(hasNextKey) && dart.notNull(hasNextValue)) { 2523 while (dart.notNull(hasNextKey) && dart.notNull(hasNextValue)) {
2490 map.set(keyIterator.current, valueIterator.current); 2524 map[dartx.set](keyIterator.current, valueIterator.current);
2491 hasNextKey = keyIterator.moveNext(); 2525 hasNextKey = keyIterator.moveNext();
2492 hasNextValue = valueIterator.moveNext(); 2526 hasNextValue = valueIterator.moveNext();
2493 } 2527 }
2494 if (dart.notNull(hasNextKey) || dart.notNull(hasNextValue)) { 2528 if (dart.notNull(hasNextKey) || dart.notNull(hasNextValue)) {
2495 dart.throw(new core.ArgumentError("Iterables do not have same length.")) ; 2529 dart.throw(new core.ArgumentError("Iterables do not have same length.")) ;
2496 } 2530 }
2497 } 2531 }
2498 } 2532 }
2499 dart.setSignature(Maps, { 2533 dart.setSignature(Maps, {
2500 statics: () => ({ 2534 statics: () => ({
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
3386 if (compare === void 0) compare = null; 3420 if (compare === void 0) compare = null;
3387 if (isValidKey === void 0) isValidKey = null; 3421 if (isValidKey === void 0) isValidKey = null;
3388 this[_comparator] = dart.as(compare == null ? core.Comparable.compare : compare, core.Comparator$(K)); 3422 this[_comparator] = dart.as(compare == null ? core.Comparable.compare : compare, core.Comparator$(K));
3389 this[_validKey] = dart.as(isValidKey != null ? isValidKey : dart.fn(v => dart.is(v, K), core.bool, [core.Object]), _Predicate$(core.Object)); 3423 this[_validKey] = dart.as(isValidKey != null ? isValidKey : dart.fn(v => dart.is(v, K), core.bool, [core.Object]), _Predicate$(core.Object));
3390 super._SplayTree(); 3424 super._SplayTree();
3391 } 3425 }
3392 static from(other, compare, isValidKey) { 3426 static from(other, compare, isValidKey) {
3393 if (compare === void 0) compare = null; 3427 if (compare === void 0) compare = null;
3394 if (isValidKey === void 0) isValidKey = null; 3428 if (isValidKey === void 0) isValidKey = null;
3395 let result = new (SplayTreeMap$(K, V))(); 3429 let result = new (SplayTreeMap$(K, V))();
3396 other.forEach(dart.fn((k, v) => { 3430 other[dartx.forEach](dart.fn((k, v) => {
3397 result.set(dart.as(k, K), dart.as(v, V)); 3431 result.set(dart.as(k, K), dart.as(v, V));
3398 }, dart.void, [dart.dynamic, dart.dynamic])); 3432 }, dart.void, [dart.dynamic, dart.dynamic]));
3399 return result; 3433 return result;
3400 } 3434 }
3401 static fromIterable(iterable, opts) { 3435 static fromIterable(iterable, opts) {
3402 let key = opts && 'key' in opts ? opts.key : null; 3436 let key = opts && 'key' in opts ? opts.key : null;
3403 let value = opts && 'value' in opts ? opts.value : null; 3437 let value = opts && 'value' in opts ? opts.value : null;
3404 let compare = opts && 'compare' in opts ? opts.compare : null; 3438 let compare = opts && 'compare' in opts ? opts.compare : null;
3405 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; 3439 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null;
3406 let map = new (SplayTreeMap$(K, V))(compare, isValidKey); 3440 let map = new (SplayTreeMap$(K, V))(compare, isValidKey);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
3474 } 3508 }
3475 if (splayCount != this[_splayCount]) { 3509 if (splayCount != this[_splayCount]) {
3476 comp = this[_splay](key); 3510 comp = this[_splay](key);
3477 dart.assert(comp != 0); 3511 dart.assert(comp != 0);
3478 } 3512 }
3479 this[_addNewRoot](new (_SplayTreeMapNode$(K, dart.dynamic))(key, value), comp); 3513 this[_addNewRoot](new (_SplayTreeMapNode$(K, dart.dynamic))(key, value), comp);
3480 return value; 3514 return value;
3481 } 3515 }
3482 addAll(other) { 3516 addAll(other) {
3483 dart.as(other, core.Map$(K, V)); 3517 dart.as(other, core.Map$(K, V));
3484 other.forEach(dart.fn((key, value) => { 3518 other[dartx.forEach](dart.fn((key, value) => {
3485 dart.as(key, K); 3519 dart.as(key, K);
3486 dart.as(value, V); 3520 dart.as(value, V);
3487 this.set(key, value); 3521 this.set(key, value);
3488 }, dart.void, [K, V])); 3522 }, dart.void, [K, V]));
3489 } 3523 }
3490 get isEmpty() { 3524 get isEmpty() {
3491 return this[_root] == null; 3525 return this[_root] == null;
3492 } 3526 }
3493 get isNotEmpty() { 3527 get isNotEmpty() {
3494 return !dart.notNull(this.isEmpty); 3528 return !dart.notNull(this.isEmpty);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
3591 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]], 3625 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]],
3592 clear: [dart.void, []], 3626 clear: [dart.void, []],
3593 containsKey: [core.bool, [core.Object]], 3627 containsKey: [core.bool, [core.Object]],
3594 containsValue: [core.bool, [core.Object]], 3628 containsValue: [core.bool, [core.Object]],
3595 firstKey: [K, []], 3629 firstKey: [K, []],
3596 lastKey: [K, []], 3630 lastKey: [K, []],
3597 lastKeyBefore: [K, [K]], 3631 lastKeyBefore: [K, [K]],
3598 firstKeyAfter: [K, [K]] 3632 firstKeyAfter: [K, [K]]
3599 }) 3633 })
3600 }); 3634 });
3635 dart.defineExtensionMembers(SplayTreeMap, [
3636 'get',
3637 'remove',
3638 'set',
3639 'putIfAbsent',
3640 'addAll',
3641 'forEach',
3642 'clear',
3643 'containsKey',
3644 'containsValue',
3645 'isEmpty',
3646 'isNotEmpty',
3647 'length',
3648 'keys',
3649 'values'
3650 ]);
3601 return SplayTreeMap; 3651 return SplayTreeMap;
3602 }); 3652 });
3603 let SplayTreeMap = SplayTreeMap$(); 3653 let SplayTreeMap = SplayTreeMap$();
3604 const _workList = Symbol('_workList'); 3654 const _workList = Symbol('_workList');
3605 const _tree = Symbol('_tree'); 3655 const _tree = Symbol('_tree');
3606 const _currentNode = Symbol('_currentNode'); 3656 const _currentNode = Symbol('_currentNode');
3607 const _findLeftMostDescendent = Symbol('_findLeftMostDescendent'); 3657 const _findLeftMostDescendent = Symbol('_findLeftMostDescendent');
3608 const _getValue = Symbol('_getValue'); 3658 const _getValue = Symbol('_getValue');
3609 const _rebuildWorkList = Symbol('_rebuildWorkList'); 3659 const _rebuildWorkList = Symbol('_rebuildWorkList');
3610 const _SplayTreeIterator$ = dart.generic(function(T) { 3660 const _SplayTreeIterator$ = dart.generic(function(T) {
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
4024 let rest = this[_rest]; 4074 let rest = this[_rest];
4025 if (rest == null) return false; 4075 if (rest == null) return false;
4026 let bucket = this[_getBucket](rest, key); 4076 let bucket = this[_getBucket](rest, key);
4027 return dart.notNull(this[_findBucketIndex](bucket, key)) >= 0; 4077 return dart.notNull(this[_findBucketIndex](bucket, key)) >= 0;
4028 } 4078 }
4029 containsValue(value) { 4079 containsValue(value) {
4030 return this[_computeKeys]()[dartx.any](dart.fn(each => dart.equals(this. get(each), value), core.bool, [dart.dynamic])); 4080 return this[_computeKeys]()[dartx.any](dart.fn(each => dart.equals(this. get(each), value), core.bool, [dart.dynamic]));
4031 } 4081 }
4032 addAll(other) { 4082 addAll(other) {
4033 dart.as(other, core.Map$(K, V)); 4083 dart.as(other, core.Map$(K, V));
4034 other.forEach(dart.fn((key, value) => { 4084 other[dartx.forEach](dart.fn((key, value) => {
4035 dart.as(key, K); 4085 dart.as(key, K);
4036 dart.as(value, V); 4086 dart.as(value, V);
4037 this.set(key, value); 4087 this.set(key, value);
4038 }, dart.void, [K, V])); 4088 }, dart.void, [K, V]));
4039 } 4089 }
4040 get(key) { 4090 get(key) {
4041 if (dart.notNull(_HashMap$()._isStringKey(key))) { 4091 if (dart.notNull(_HashMap$()._isStringKey(key))) {
4042 let strings = this[_strings]; 4092 let strings = this[_strings];
4043 return dart.as(strings == null ? null : _HashMap$()._getTableEntry(str ings, key), V); 4093 return dart.as(strings == null ? null : _HashMap$()._getTableEntry(str ings, key), V);
4044 } else if (dart.notNull(_HashMap$()._isNumericKey(key))) { 4094 } else if (dart.notNull(_HashMap$()._isNumericKey(key))) {
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
4274 _isStringKey: [core.bool, [dart.dynamic]], 4324 _isStringKey: [core.bool, [dart.dynamic]],
4275 _isNumericKey: [core.bool, [dart.dynamic]], 4325 _isNumericKey: [core.bool, [dart.dynamic]],
4276 _hasTableEntry: [core.bool, [dart.dynamic, dart.dynamic]], 4326 _hasTableEntry: [core.bool, [dart.dynamic, dart.dynamic]],
4277 _getTableEntry: [dart.dynamic, [dart.dynamic, dart.dynamic]], 4327 _getTableEntry: [dart.dynamic, [dart.dynamic, dart.dynamic]],
4278 _setTableEntry: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]], 4328 _setTableEntry: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]],
4279 _deleteTableEntry: [dart.void, [dart.dynamic, dart.dynamic]], 4329 _deleteTableEntry: [dart.void, [dart.dynamic, dart.dynamic]],
4280 _newHashTable: [dart.dynamic, []] 4330 _newHashTable: [dart.dynamic, []]
4281 }), 4331 }),
4282 names: ['_isStringKey', '_isNumericKey', '_hasTableEntry', '_getTableEntry ', '_setTableEntry', '_deleteTableEntry', '_newHashTable'] 4332 names: ['_isStringKey', '_isNumericKey', '_hasTableEntry', '_getTableEntry ', '_setTableEntry', '_deleteTableEntry', '_newHashTable']
4283 }); 4333 });
4334 dart.defineExtensionMembers(_HashMap, [
4335 'containsKey',
4336 'containsValue',
4337 'addAll',
4338 'get',
4339 'set',
4340 'putIfAbsent',
4341 'remove',
4342 'clear',
4343 'forEach',
4344 'length',
4345 'isEmpty',
4346 'isNotEmpty',
4347 'keys',
4348 'values'
4349 ]);
4284 return _HashMap; 4350 return _HashMap;
4285 }); 4351 });
4286 let _HashMap = _HashMap$(); 4352 let _HashMap = _HashMap$();
4287 const _IdentityHashMap$ = dart.generic(function(K, V) { 4353 const _IdentityHashMap$ = dart.generic(function(K, V) {
4288 class _IdentityHashMap extends _HashMap$(K, V) { 4354 class _IdentityHashMap extends _HashMap$(K, V) {
4289 _IdentityHashMap() { 4355 _IdentityHashMap() {
4290 super._HashMap(); 4356 super._HashMap();
4291 } 4357 }
4292 [_computeHashCode](key) { 4358 [_computeHashCode](key) {
4293 return core.identityHashCode(key) & 0x3ffffff; 4359 return core.identityHashCode(key) & 0x3ffffff;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
4348 } 4414 }
4349 } 4415 }
4350 dart.setSignature(_CustomHashMap, { 4416 dart.setSignature(_CustomHashMap, {
4351 constructors: () => ({_CustomHashMap: [_CustomHashMap$(K, V), [_Equality$( K), _Hasher$(K), dart.functionType(core.bool, [core.Object])]]}), 4417 constructors: () => ({_CustomHashMap: [_CustomHashMap$(K, V), [_Equality$( K), _Hasher$(K), dart.functionType(core.bool, [core.Object])]]}),
4352 methods: () => ({ 4418 methods: () => ({
4353 get: [V, [core.Object]], 4419 get: [V, [core.Object]],
4354 set: [dart.void, [K, V]], 4420 set: [dart.void, [K, V]],
4355 remove: [V, [core.Object]] 4421 remove: [V, [core.Object]]
4356 }) 4422 })
4357 }); 4423 });
4424 dart.defineExtensionMembers(_CustomHashMap, ['get', 'set', 'containsKey', 'r emove']);
4358 return _CustomHashMap; 4425 return _CustomHashMap;
4359 }); 4426 });
4360 let _CustomHashMap = _CustomHashMap$(); 4427 let _CustomHashMap = _CustomHashMap$();
4361 const HashMapKeyIterable$ = dart.generic(function(E) { 4428 const HashMapKeyIterable$ = dart.generic(function(E) {
4362 class HashMapKeyIterable extends IterableBase$(E) { 4429 class HashMapKeyIterable extends IterableBase$(E) {
4363 HashMapKeyIterable(map) { 4430 HashMapKeyIterable(map) {
4364 this[_map] = map; 4431 this[_map] = map;
4365 super.IterableBase(); 4432 super.IterableBase();
4366 } 4433 }
4367 get length() { 4434 get length() {
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
4488 let rest = this[_rest]; 4555 let rest = this[_rest];
4489 if (rest == null) return false; 4556 if (rest == null) return false;
4490 let bucket = this[_getBucket](rest, key); 4557 let bucket = this[_getBucket](rest, key);
4491 return dart.notNull(this[_findBucketIndex](bucket, key)) >= 0; 4558 return dart.notNull(this[_findBucketIndex](bucket, key)) >= 0;
4492 } 4559 }
4493 containsValue(value) { 4560 containsValue(value) {
4494 return this.keys[dartx.any](dart.fn(each => dart.equals(this.get(each), value), core.bool, [K])); 4561 return this.keys[dartx.any](dart.fn(each => dart.equals(this.get(each), value), core.bool, [K]));
4495 } 4562 }
4496 addAll(other) { 4563 addAll(other) {
4497 dart.as(other, core.Map$(K, V)); 4564 dart.as(other, core.Map$(K, V));
4498 other.forEach(dart.fn((key, value) => { 4565 other[dartx.forEach](dart.fn((key, value) => {
4499 dart.as(key, K); 4566 dart.as(key, K);
4500 dart.as(value, V); 4567 dart.as(value, V);
4501 this.set(key, value); 4568 this.set(key, value);
4502 }, dart.void, [K, V])); 4569 }, dart.void, [K, V]));
4503 } 4570 }
4504 get(key) { 4571 get(key) {
4505 if (dart.notNull(_LinkedHashMap$()._isStringKey(key))) { 4572 if (dart.notNull(_LinkedHashMap$()._isStringKey(key))) {
4506 let strings = this[_strings]; 4573 let strings = this[_strings];
4507 if (strings == null) return null; 4574 if (strings == null) return null;
4508 let cell = dart.as(_LinkedHashMap$()._getTableEntry(strings, key), Lin kedHashMapCell); 4575 let cell = dart.as(_LinkedHashMap$()._getTableEntry(strings, key), Lin kedHashMapCell);
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
4734 statics: () => ({ 4801 statics: () => ({
4735 _isStringKey: [core.bool, [dart.dynamic]], 4802 _isStringKey: [core.bool, [dart.dynamic]],
4736 _isNumericKey: [core.bool, [dart.dynamic]], 4803 _isNumericKey: [core.bool, [dart.dynamic]],
4737 _getTableEntry: [dart.dynamic, [dart.dynamic, dart.dynamic]], 4804 _getTableEntry: [dart.dynamic, [dart.dynamic, dart.dynamic]],
4738 _setTableEntry: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]], 4805 _setTableEntry: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]],
4739 _deleteTableEntry: [dart.void, [dart.dynamic, dart.dynamic]], 4806 _deleteTableEntry: [dart.void, [dart.dynamic, dart.dynamic]],
4740 _newHashTable: [dart.dynamic, []] 4807 _newHashTable: [dart.dynamic, []]
4741 }), 4808 }),
4742 names: ['_isStringKey', '_isNumericKey', '_getTableEntry', '_setTableEntry ', '_deleteTableEntry', '_newHashTable'] 4809 names: ['_isStringKey', '_isNumericKey', '_getTableEntry', '_setTableEntry ', '_deleteTableEntry', '_newHashTable']
4743 }); 4810 });
4811 dart.defineExtensionMembers(_LinkedHashMap, [
4812 'containsKey',
4813 'containsValue',
4814 'addAll',
4815 'get',
4816 'set',
4817 'putIfAbsent',
4818 'remove',
4819 'clear',
4820 'forEach',
4821 'length',
4822 'isEmpty',
4823 'isNotEmpty',
4824 'keys',
4825 'values'
4826 ]);
4744 return _LinkedHashMap; 4827 return _LinkedHashMap;
4745 }); 4828 });
4746 let _LinkedHashMap = _LinkedHashMap$(); 4829 let _LinkedHashMap = _LinkedHashMap$();
4747 const _LinkedIdentityHashMap$ = dart.generic(function(K, V) { 4830 const _LinkedIdentityHashMap$ = dart.generic(function(K, V) {
4748 class _LinkedIdentityHashMap extends _LinkedHashMap$(K, V) { 4831 class _LinkedIdentityHashMap extends _LinkedHashMap$(K, V) {
4749 _LinkedIdentityHashMap() { 4832 _LinkedIdentityHashMap() {
4750 super._LinkedHashMap(); 4833 super._LinkedHashMap();
4751 } 4834 }
4752 [_computeHashCode](key) { 4835 [_computeHashCode](key) {
4753 return core.identityHashCode(key) & 0x3ffffff; 4836 return core.identityHashCode(key) & 0x3ffffff;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
4805 } 4888 }
4806 } 4889 }
4807 dart.setSignature(_LinkedCustomHashMap, { 4890 dart.setSignature(_LinkedCustomHashMap, {
4808 constructors: () => ({_LinkedCustomHashMap: [_LinkedCustomHashMap$(K, V), [_Equality$(K), _Hasher$(K), dart.functionType(core.bool, [core.Object])]]}), 4891 constructors: () => ({_LinkedCustomHashMap: [_LinkedCustomHashMap$(K, V), [_Equality$(K), _Hasher$(K), dart.functionType(core.bool, [core.Object])]]}),
4809 methods: () => ({ 4892 methods: () => ({
4810 get: [V, [core.Object]], 4893 get: [V, [core.Object]],
4811 set: [dart.void, [K, V]], 4894 set: [dart.void, [K, V]],
4812 remove: [V, [core.Object]] 4895 remove: [V, [core.Object]]
4813 }) 4896 })
4814 }); 4897 });
4898 dart.defineExtensionMembers(_LinkedCustomHashMap, ['get', 'set', 'containsKe y', 'remove']);
4815 return _LinkedCustomHashMap; 4899 return _LinkedCustomHashMap;
4816 }); 4900 });
4817 let _LinkedCustomHashMap = _LinkedCustomHashMap$(); 4901 let _LinkedCustomHashMap = _LinkedCustomHashMap$();
4818 class LinkedHashMapCell extends core.Object { 4902 class LinkedHashMapCell extends core.Object {
4819 LinkedHashMapCell(key, value) { 4903 LinkedHashMapCell(key, value) {
4820 this[_key] = key; 4904 this[_key] = key;
4821 this[_value] = value; 4905 this[_value] = value;
4822 this[_next] = null; 4906 this[_next] = null;
4823 this[_previous] = null; 4907 this[_previous] = null;
4824 } 4908 }
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
5781 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; 5865 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$;
5782 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; 5866 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable;
5783 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; 5867 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$;
5784 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; 5868 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator;
5785 exports.HashSetIterator$ = HashSetIterator$; 5869 exports.HashSetIterator$ = HashSetIterator$;
5786 exports.HashSetIterator = HashSetIterator; 5870 exports.HashSetIterator = HashSetIterator;
5787 exports.LinkedHashSetCell = LinkedHashSetCell; 5871 exports.LinkedHashSetCell = LinkedHashSetCell;
5788 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; 5872 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$;
5789 exports.LinkedHashSetIterator = LinkedHashSetIterator; 5873 exports.LinkedHashSetIterator = LinkedHashSetIterator;
5790 }); 5874 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698