MapTransformExtensions<K, V> extension
Map values, map keys, filter by key/value.
- on
-
- Map<
K, V>
- Map<
Methods
-
filterKeys(
bool keyPredicate(K key)) → Map< K, V> -
Available on Map<
New map with only entries where keyPredicate is true.K, V> , provided by the MapTransformExtensions extension -
filterValues(
bool valuePredicate(V value)) → Map< K, V> -
Available on Map<
New map with only entries where valuePredicate is true.K, V> , provided by the MapTransformExtensions extension -
mapKeys<
U> (U f(K key)) → Map< U, V> -
Available on Map<
New map with same values, keys transformed byK, V> , provided by the MapTransformExtensions extensionf. Collisions: last wins. -
mapValues<
U> (U f(V value)) → Map< K, U> -
Available on Map<
New map with same keys, values transformed byK, V> , provided by the MapTransformExtensions extensionf.