| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 part of _js_helper; | 5 part of _js_helper; |
| 6 | 6 |
| 7 abstract class ConstantMap<K, V> implements Map<K, V> { | 7 abstract class ConstantMap<K, V> implements Map<K, V> { |
| 8 const ConstantMap._(); | 8 const ConstantMap._(); |
| 9 | 9 |
| 10 bool get isEmpty => length == 0; | 10 bool get isEmpty => length == 0; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 Iterable<K> get keys { | 136 Iterable<K> get keys { |
| 137 return _getMap().keys; | 137 return _getMap().keys; |
| 138 } | 138 } |
| 139 | 139 |
| 140 Iterable<V> get values { | 140 Iterable<V> get values { |
| 141 return _getMap().values; | 141 return _getMap().values; |
| 142 } | 142 } |
| 143 | 143 |
| 144 int get length => _getMap().length; | 144 int get length => _getMap().length; |
| 145 } | 145 } |
| OLD | NEW |