| 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 part of dart.collection; | 5 part of dart.collection; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * A hash-based map that iterates keys and values in key insertion order. | 8 * A hash-based map that iterates keys and values in key insertion order. |
| 9 */ | 9 */ |
| 10 class LinkedHashMap<K, V> implements Map<K, V> { | 10 class LinkedHashMap<K, V> implements Map<K, V> { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 external void forEach(void action (K key, V value)); | 33 external void forEach(void action (K key, V value)); |
| 34 | 34 |
| 35 external Iterable<K> get keys; | 35 external Iterable<K> get keys; |
| 36 external Iterable<V> get values; | 36 external Iterable<V> get values; |
| 37 | 37 |
| 38 external int get length; | 38 external int get length; |
| 39 | 39 |
| 40 external bool get isEmpty; | 40 external bool get isEmpty; |
| 41 | 41 |
| 42 external bool get isNotEmpty; |
| 43 |
| 42 String toString() => Maps.mapToString(this); | 44 String toString() => Maps.mapToString(this); |
| 43 } | 45 } |
| OLD | NEW |