OLD | NEW |
| (Empty) |
1 part of dart.core; | |
2 abstract class Map<K, V> {factory Map() = LinkedHashMap<K, V>; | |
3 factory Map.from(Map other) = LinkedHashMap<K, V>.from; | |
4 factory Map.identity() = LinkedHashMap<K, V>.identity; | |
5 factory Map.fromIterable(Iterable iterable, { | |
6 K key(element), V value(element)} | |
7 ) = LinkedHashMap<K, V>.fromIterable; | |
8 factory Map.fromIterables(Iterable<K> keys, Iterable<V> values) = LinkedHashMap
<K, V>.fromIterables; | |
9 bool containsValue(Object value); | |
10 bool containsKey(Object key); | |
11 V operator [](Object key); | |
12 void operator []=(K key, V value); | |
13 V putIfAbsent(K key, V ifAbsent()); | |
14 void addAll(Map<K, V> other); | |
15 V remove(Object key); | |
16 void clear(); | |
17 void forEach(void f(K key, V value)); | |
18 Iterable<K> get keys; | |
19 Iterable<V> get values; | |
20 int get length; | |
21 bool get isEmpty; | |
22 bool get isNotEmpty; | |
23 } | |
OLD | NEW |