| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 /** | 5 /** |
| 6 * Wrappers that prevent a List, Set, or Map object from being modified. | 6 * Wrappers that prevent a List, Set, or Map object from being modified. |
| 7 * | 7 * |
| 8 * The [Set] and [Map] wrappers allow reading from the wrapped collection, | 8 * The [Set] and [Map] wrappers allow reading from the wrapped collection, |
| 9 * but prohibit writing. | 9 * but prohibit writing. |
| 10 * | 10 * |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 /** | 220 /** |
| 221 * Throws an [UnsupportedError]; | 221 * Throws an [UnsupportedError]; |
| 222 * operations that change the map are disallowed. | 222 * operations that change the map are disallowed. |
| 223 */ | 223 */ |
| 224 void addAll(Map<K, V> other) => _throw(); | 224 void addAll(Map<K, V> other) => _throw(); |
| 225 | 225 |
| 226 /** | 226 /** |
| 227 * Throws an [UnsupportedError]; | 227 * Throws an [UnsupportedError]; |
| 228 * operations that change the map are disallowed. | 228 * operations that change the map are disallowed. |
| 229 */ | 229 */ |
| 230 V remove(K key) => _throw(); | 230 V remove(Object key) => _throw(); |
| 231 | 231 |
| 232 /** | 232 /** |
| 233 * Throws an [UnsupportedError]; | 233 * Throws an [UnsupportedError]; |
| 234 * operations that change the map are disallowed. | 234 * operations that change the map are disallowed. |
| 235 */ | 235 */ |
| 236 void clear() => _throw(); | 236 void clear() => _throw(); |
| 237 } | 237 } |
| OLD | NEW |