| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library dart2js.util.maplet; | 5 library dart2js.util.maplet; |
| 6 | 6 |
| 7 import 'dart:collection' show MapBase, IterableBase; | 7 import 'dart:collection' show MapBase, IterableBase; |
| 8 | 8 |
| 9 class Maplet<K, V> extends MapBase<K, V> { | 9 class Maplet<K, V> extends MapBase<K, V> { |
| 10 static const _MARKER = const _MapletMarker(); | 10 static const _MARKER = const _MapletMarker(); |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 if (Maplet._MARKER != candidate) { | 271 if (Maplet._MARKER != candidate) { |
| 272 _current = candidate; | 272 _current = candidate; |
| 273 _remaining--; | 273 _remaining--; |
| 274 return true; | 274 return true; |
| 275 } | 275 } |
| 276 } | 276 } |
| 277 _current = null; | 277 _current = null; |
| 278 return false; | 278 return false; |
| 279 } | 279 } |
| 280 } | 280 } |
| OLD | NEW |