Index
All Classes and Interfaces|All Packages
C
- collect(Map<K1, V1>, Function<? super K1, Option<K2>>, Function<? super V1, Option<V2>>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
-
Filters and maps (aka transforms) the source map.
- collect(Map<K1, V1>, Function<Map.Entry<K1, V1>, Option<Map.Entry<K2, V2>>>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
-
Filters and maps (aka transforms) the source map.
- collectByKey(Map<K1, V>, Function<? super K1, Option<K2>>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
-
Filters and maps (aka transforms) the source map.
- collectByValue(Map<K, V1>, Function<? super V1, Option<V2>>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
-
Filters and maps (aka transforms) the source map.
I
- ImmutableMaps - Class in io.atlassian.fugue.extras
-
Provides some utility methods to convert Iterables to ImmutableMap, and to transform Maps.
- io.atlassian.fugue.extras - package io.atlassian.fugue.extras
M
- mapBy(Iterable<V>, Function<? super V, ? extends K>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
-
Builds an immutable map that is keyed by the result of applying keyTransformer to each element of the given iterable of values.
- mapEntry() - Static method in class io.atlassian.fugue.extras.ImmutableMaps
-
Returns a function that takes a key of type K and a value of type V and returns a Map entry.
- mapTo(Iterable<K>, Function<? super K, ? extends V>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
-
Builds an immutable map from the given iterable and compute the value by applying the valueTransformer.
T
- toMap(Iterable<Map.Entry<K, V>>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
-
Builds an immutable map from the given iterable of
Map.Entry. - toMap(Iterable<T>, Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
-
Builds an immutable map from the given iterable, with key derived from the application of the iterable to the keyTransformer, and value derived from the application of the iterable to the valueTransformer.
- transform(Map<K1, V1>, Function<? super K1, ? extends K2>, Function<? super V1, ? extends V2>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
-
Returns an immutable map that applies the keyTransformer and valueTransformer functions to each entry of
fromMap. - transform(Map<K1, V1>, Function<Map.Entry<K1, V1>, Map.Entry<K2, V2>>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
-
Returns an immutable map that applies function to each entry of
fromMap. - transformKey(Map<K1, V>, Function<? super K1, ? extends K2>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
-
Returns an immutable map that applies keyTransformer to the key of each entry of the source map.
- transformValue(Map<K, V1>, Function<? super V1, ? extends V2>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
-
Returns an immutable map that applies valueTransformer to the value of each entry of the source map.
All Classes and Interfaces|All Packages