OLD | NEW |
1 dart_library.library('dart/collection', null, /* Imports */[ | 1 dart_library.library('dart/collection', null, /* Imports */[ |
2 "dart_runtime/dart", | 2 "dart_runtime/dart", |
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 2303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2314 addAll: [dart.void, [core.Map$(K, V)]], | 2314 addAll: [dart.void, [core.Map$(K, V)]], |
2315 clear: [dart.void, []], | 2315 clear: [dart.void, []], |
2316 remove: [V, [core.Object]], | 2316 remove: [V, [core.Object]], |
2317 putIfAbsent: [V, [K, dart.functionType(V, [])]] | 2317 putIfAbsent: [V, [K, dart.functionType(V, [])]] |
2318 }) | 2318 }) |
2319 }); | 2319 }); |
2320 return _UnmodifiableMapMixin; | 2320 return _UnmodifiableMapMixin; |
2321 }); | 2321 }); |
2322 let _UnmodifiableMapMixin = _UnmodifiableMapMixin$(); | 2322 let _UnmodifiableMapMixin = _UnmodifiableMapMixin$(); |
2323 let UnmodifiableMapBase$ = dart.generic(function(K, V) { | 2323 let UnmodifiableMapBase$ = dart.generic(function(K, V) { |
2324 class UnmodifiableMapBase extends dart.mixin(MapBase$(K, V), _UnmodifiableMa
pMixin$(K, V)) {} | 2324 class UnmodifiableMapBase extends dart.mixin(MapBase$(K, V), _UnmodifiableMa
pMixin$(K, V)) { |
| 2325 UnmodifiableMapBase() { |
| 2326 super.MapBase(...arguments); |
| 2327 } |
| 2328 } |
2325 return UnmodifiableMapBase; | 2329 return UnmodifiableMapBase; |
2326 }); | 2330 }); |
2327 let UnmodifiableMapBase = UnmodifiableMapBase$(); | 2331 let UnmodifiableMapBase = UnmodifiableMapBase$(); |
2328 let _map = Symbol('_map'); | 2332 let _map = Symbol('_map'); |
2329 let _MapBaseValueIterable$ = dart.generic(function(V) { | 2333 let _MapBaseValueIterable$ = dart.generic(function(V) { |
2330 class _MapBaseValueIterable extends IterableBase$(V) { | 2334 class _MapBaseValueIterable extends IterableBase$(V) { |
2331 _MapBaseValueIterable(map) { | 2335 _MapBaseValueIterable(map) { |
2332 this[_map] = map; | 2336 this[_map] = map; |
2333 super.IterableBase(); | 2337 super.IterableBase(); |
2334 } | 2338 } |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2467 containsKey: [core.bool, [core.Object]], | 2471 containsKey: [core.bool, [core.Object]], |
2468 containsValue: [core.bool, [core.Object]], | 2472 containsValue: [core.bool, [core.Object]], |
2469 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]], | 2473 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]], |
2470 remove: [V, [core.Object]] | 2474 remove: [V, [core.Object]] |
2471 }) | 2475 }) |
2472 }); | 2476 }); |
2473 return MapView; | 2477 return MapView; |
2474 }); | 2478 }); |
2475 let MapView = MapView$(); | 2479 let MapView = MapView$(); |
2476 let UnmodifiableMapView$ = dart.generic(function(K, V) { | 2480 let UnmodifiableMapView$ = dart.generic(function(K, V) { |
2477 class UnmodifiableMapView extends dart.mixin(MapView$(K, V), _UnmodifiableMa
pMixin$(K, V)) {} | 2481 class UnmodifiableMapView extends dart.mixin(MapView$(K, V), _UnmodifiableMa
pMixin$(K, V)) { |
| 2482 UnmodifiableMapView() { |
| 2483 super.MapView(...arguments); |
| 2484 } |
| 2485 } |
2478 return UnmodifiableMapView; | 2486 return UnmodifiableMapView; |
2479 }); | 2487 }); |
2480 let UnmodifiableMapView = UnmodifiableMapView$(); | 2488 let UnmodifiableMapView = UnmodifiableMapView$(); |
2481 class Maps extends core.Object { | 2489 class Maps extends core.Object { |
2482 static containsValue(map, value) { | 2490 static containsValue(map, value) { |
2483 for (let v of map.values) { | 2491 for (let v of map.values) { |
2484 if (dart.equals(value, v)) { | 2492 if (dart.equals(value, v)) { |
2485 return true; | 2493 return true; |
2486 } | 2494 } |
2487 } | 2495 } |
(...skipping 3524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6012 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; | 6020 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; |
6013 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; | 6021 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; |
6014 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; | 6022 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; |
6015 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; | 6023 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; |
6016 exports.HashSetIterator$ = HashSetIterator$; | 6024 exports.HashSetIterator$ = HashSetIterator$; |
6017 exports.HashSetIterator = HashSetIterator; | 6025 exports.HashSetIterator = HashSetIterator; |
6018 exports.LinkedHashSetCell = LinkedHashSetCell; | 6026 exports.LinkedHashSetCell = LinkedHashSetCell; |
6019 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; | 6027 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; |
6020 exports.LinkedHashSetIterator = LinkedHashSetIterator; | 6028 exports.LinkedHashSetIterator = LinkedHashSetIterator; |
6021 }); | 6029 }); |
OLD | NEW |