Package com.atlassian.bamboo.utils
Class BambooCollectors
java.lang.Object
com.atlassian.bamboo.utils.BambooCollectors
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> BinaryOperator<T>
static <T> Collector<T,
Collection<T>, T[]> toImmutableMap
(Function<E, K> keyTransformer, Function<E, V> valueTransformer) toLinkedHashMap
(Function<V, K> keyGenerator) toMap()
static <V,
K> Collector<V, com.google.common.collect.Multimap<K, V>, com.google.common.collect.Multimap<K, V>> toMultimap
(Function<V, K> keyGenerator) static <V,
K, M extends com.google.common.collect.Multimap<K, V>>
@NotNull Collector<V,M, M> toMultimap
(Function<V, K> keyGenerator, Supplier<M> multiMapSupplier)
-
Method Details
-
toArray
-
toMap
-
toMap
-
toMap
-
toHashMap
-
toLinkedHashMap
-
throwingMerger
-
toMultimap
-
toMultimap
-
toImmutableMap
-
toListWithNullValueAsEmptyList
-