OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 "core.dart"; | 5 part of "dart:core"; |
6 | 6 |
7 /** | 7 /** |
8 * An collection of key-value pairs, from which you retrieve a value | 8 * An collection of key-value pairs, from which you retrieve a value |
9 * using its associated key. | 9 * using its associated key. |
10 * | 10 * |
11 * There is a finite number of keys in the map, | 11 * There is a finite number of keys in the map, |
12 * and each key has exactly one value associated with it. | 12 * and each key has exactly one value associated with it. |
13 * | 13 * |
14 * Maps, and their keys and values, can be iterated. | 14 * Maps, and their keys and values, can be iterated. |
15 * The order of iteration is defined by the individual type of map. | 15 * The order of iteration is defined by the individual type of map. |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 /** | 267 /** |
268 * Returns true if there is no key-value pair in the map. | 268 * Returns true if there is no key-value pair in the map. |
269 */ | 269 */ |
270 bool get isEmpty; | 270 bool get isEmpty; |
271 | 271 |
272 /** | 272 /** |
273 * Returns true if there is at least one key-value pair in the map. | 273 * Returns true if there is at least one key-value pair in the map. |
274 */ | 274 */ |
275 bool get isNotEmpty; | 275 bool get isNotEmpty; |
276 } | 276 } |
OLD | NEW |