| OLD | NEW |
| 1 dart_library.library('collection/wrappers', null, /* Imports */[ | 1 dart_library.library('collection/wrappers', null, /* Imports */[ |
| 2 "dart/_runtime", | 2 "dart/_runtime", |
| 3 'collection/src/canonicalized_map', | 3 'collection/src/canonicalized_map', |
| 4 'dart/core', | 4 'dart/core', |
| 5 'dart/math', | 5 'dart/math', |
| 6 'dart/collection' | 6 'dart/collection' |
| 7 ], /* Lazy imports */[ | 7 ], /* Lazy imports */[ |
| 8 'collection/src/unmodifiable_wrappers' | 8 'collection/src/unmodifiable_wrappers' |
| 9 ], function(exports, dart, canonicalized_map, core, math, collection, unmodifiab
le_wrappers) { | 9 ], function(exports, dart, canonicalized_map, core, math, collection, unmodifiab
le_wrappers) { |
| 10 'use strict'; | 10 'use strict'; |
| 11 let dartx = dart.dartx; | 11 let dartx = dart.dartx; |
| 12 dart.export(exports, canonicalized_map); | 12 dart.export_(exports, canonicalized_map); |
| 13 dart.export(exports, unmodifiable_wrappers); | 13 dart.export_(exports, unmodifiable_wrappers); |
| 14 let _base = Symbol('_base'); | 14 let _base = Symbol('_base'); |
| 15 let _DelegatingIterableBase$ = dart.generic(function(E) { | 15 let _DelegatingIterableBase$ = dart.generic(function(E) { |
| 16 class _DelegatingIterableBase extends core.Object { | 16 class _DelegatingIterableBase extends core.Object { |
| 17 _DelegatingIterableBase() { | 17 _DelegatingIterableBase() { |
| 18 } | 18 } |
| 19 any(test) { | 19 any(test) { |
| 20 dart.as(test, dart.functionType(core.bool, [E])); | 20 dart.as(test, dart.functionType(core.bool, [E])); |
| 21 return this[_base][dartx.any](test); | 21 return this[_base][dartx.any](test); |
| 22 } | 22 } |
| 23 contains(element) { | 23 contains(element) { |
| (...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 693 toString() { | 693 toString() { |
| 694 return dart.toString(this.toSet()); | 694 return dart.toString(this.toSet()); |
| 695 } | 695 } |
| 696 add(value) { | 696 add(value) { |
| 697 dart.as(value, V); | 697 dart.as(value, V); |
| 698 let key = dart.as(dart.dcall(this[_keyForValue], value), K); | 698 let key = dart.as(dart.dcall(this[_keyForValue], value), K); |
| 699 let result = false; | 699 let result = false; |
| 700 this[_baseMap].putIfAbsent(key, dart.as(dart.fn(() => { | 700 this[_baseMap].putIfAbsent(key, dart.as(dart.fn(() => { |
| 701 result = true; | 701 result = true; |
| 702 return value; | 702 return value; |
| 703 }), __CastType0)); | 703 }), __CastType0$(V))); |
| 704 return result; | 704 return result; |
| 705 } | 705 } |
| 706 addAll(elements) { | 706 addAll(elements) { |
| 707 dart.as(elements, core.Iterable$(V)); | 707 dart.as(elements, core.Iterable$(V)); |
| 708 return elements[dartx.forEach](dart.bind(this, 'add')); | 708 return elements[dartx.forEach](dart.bind(this, 'add')); |
| 709 } | 709 } |
| 710 clear() { | 710 clear() { |
| 711 return this[_baseMap].clear(); | 711 return this[_baseMap].clear(); |
| 712 } | 712 } |
| 713 containsAll(other) { | 713 containsAll(other) { |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 exports.DelegatingSet$ = DelegatingSet$; | 816 exports.DelegatingSet$ = DelegatingSet$; |
| 817 exports.DelegatingSet = DelegatingSet; | 817 exports.DelegatingSet = DelegatingSet; |
| 818 exports.DelegatingQueue$ = DelegatingQueue$; | 818 exports.DelegatingQueue$ = DelegatingQueue$; |
| 819 exports.DelegatingQueue = DelegatingQueue; | 819 exports.DelegatingQueue = DelegatingQueue; |
| 820 exports.DelegatingMap$ = DelegatingMap$; | 820 exports.DelegatingMap$ = DelegatingMap$; |
| 821 exports.DelegatingMap = DelegatingMap; | 821 exports.DelegatingMap = DelegatingMap; |
| 822 exports.MapKeySet$ = MapKeySet$; | 822 exports.MapKeySet$ = MapKeySet$; |
| 823 exports.MapValueSet$ = MapValueSet$; | 823 exports.MapValueSet$ = MapValueSet$; |
| 824 exports.MapValueSet = MapValueSet; | 824 exports.MapValueSet = MapValueSet; |
| 825 }); | 825 }); |
| OLD | NEW |