MapExt<K, V> extension

on

Methods

equals(Map<K, V> other) bool

Available on Map<K, V>, provided by the MapExt extension

put(K key, V value) → void

Available on Map<K, V>, provided by the MapExt extension

sign() String

Available on Map<K, V>, provided by the MapExt extension

where(bool test(K key, V value)) Map<K, V>

Available on Map<K, V>, provided by the MapExt extension

whereKey(bool test(K key)) Map<K, V>

Available on Map<K, V>, provided by the MapExt extension

whereValue(bool test(V value)) Map<K, V>

Available on Map<K, V>, provided by the MapExt extension

Operators

operator +(Map<K, V> other) Map<K, V>

Available on Map<K, V>, provided by the MapExt extension

合并两个Map, 如果有相同的key, other中的key-value会被保留