| OLD | NEW |
| 1 dart_library.library('collection/priority_queue', null, /* Imports */[ | 1 dart_library.library('collection/priority_queue', null, /* Imports */[ |
| 2 'dart/_runtime', | 2 'dart/_runtime', |
| 3 'dart/core', | 3 'dart/core', |
| 4 'dart/collection' | 4 'dart/collection' |
| 5 ], /* Lazy imports */[ | 5 ], /* Lazy imports */[ |
| 6 ], function(exports, dart, core, collection) { | 6 ], function(exports, dart, core, collection) { |
| 7 'use strict'; | 7 'use strict'; |
| 8 let dartx = dart.dartx; | 8 let dartx = dart.dartx; |
| 9 const PriorityQueue$ = dart.generic(function(E) { | 9 const PriorityQueue$ = dart.generic(function(E) { |
| 10 class PriorityQueue extends core.Object {} | 10 class PriorityQueue extends core.Object {} |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 toList: [core.List$(E), []], | 217 toList: [core.List$(E), []], |
| 218 toSet: [core.Set$(E), []], | 218 toSet: [core.Set$(E), []], |
| 219 [_add]: [dart.void, [E]], | 219 [_add]: [dart.void, [E]], |
| 220 [_locate]: [core.int, [E]], | 220 [_locate]: [core.int, [E]], |
| 221 [_removeLast]: [E, []], | 221 [_removeLast]: [E, []], |
| 222 [_bubbleUp]: [dart.void, [E, core.int]], | 222 [_bubbleUp]: [dart.void, [E, core.int]], |
| 223 [_bubbleDown]: [dart.void, [E, core.int]], | 223 [_bubbleDown]: [dart.void, [E, core.int]], |
| 224 [_grow]: [dart.void, []] | 224 [_grow]: [dart.void, []] |
| 225 }) | 225 }) |
| 226 }); | 226 }); |
| 227 HeapPriorityQueue._INITIAL_CAPACITY = 7; |
| 227 return HeapPriorityQueue; | 228 return HeapPriorityQueue; |
| 228 }); | 229 }); |
| 229 let HeapPriorityQueue = HeapPriorityQueue$(); | 230 let HeapPriorityQueue = HeapPriorityQueue$(); |
| 230 HeapPriorityQueue._INITIAL_CAPACITY = 7; | |
| 231 const __CastType0$ = dart.generic(function(E) { | 231 const __CastType0$ = dart.generic(function(E) { |
| 232 const __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core
.int, [E, E])); | 232 const __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core
.int, [E, E])); |
| 233 return __CastType0; | 233 return __CastType0; |
| 234 }); | 234 }); |
| 235 let __CastType0 = __CastType0$(); | 235 let __CastType0 = __CastType0$(); |
| 236 // Exports: | 236 // Exports: |
| 237 exports.PriorityQueue$ = PriorityQueue$; | 237 exports.PriorityQueue$ = PriorityQueue$; |
| 238 exports.PriorityQueue = PriorityQueue; | 238 exports.PriorityQueue = PriorityQueue; |
| 239 exports.HeapPriorityQueue$ = HeapPriorityQueue$; | 239 exports.HeapPriorityQueue$ = HeapPriorityQueue$; |
| 240 exports.HeapPriorityQueue = HeapPriorityQueue; | 240 exports.HeapPriorityQueue = HeapPriorityQueue; |
| 241 }); | 241 }); |
| OLD | NEW |