Package org.apache.cassandra.utils
Class Collectors3
java.lang.Object
org.apache.cassandra.utils.Collectors3
Some extra Collector implementations.
Named Collectors3 just in case Guava ever makes a Collectors2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Collector<T,?, com.google.common.collect.ImmutableList<T>> static <T,K, V> Collector<T, ?, com.google.common.collect.ImmutableMap<K, V>> toImmutableMap(Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends V> valueMapper) static <T> Collector<T,?, com.google.common.collect.ImmutableSet<T>>
-
Constructor Details
-
Collectors3
public Collectors3()
-
-
Method Details
-
toImmutableList
-
toImmutableSet
-
toImmutableMap
-
toImmutableMap
-