| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 Iterable<K> get keys { | 138 Iterable<K> get keys { |
| 139 return _getMap().keys; | 139 return _getMap().keys; |
| 140 } | 140 } |
| 141 | 141 |
| 142 Iterable<V> get values { | 142 Iterable<V> get values { |
| 143 return _getMap().values; | 143 return _getMap().values; |
| 144 } | 144 } |
| 145 | 145 |
| 146 int get length => _getMap().length; | 146 int get length => _getMap().length; |
| 147 } | 147 } |
| OLD | NEW |