Class GuavaCollectors
java.lang.Object
de.hybris.platform.util.collections.GuavaCollectors
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Collector<T,com.google.common.collect.ImmutableList.Builder<T>, com.google.common.collect.ImmutableList<T>> Collect a stream of elements into anImmutableList.static <T> Collector<T,com.google.common.collect.ImmutableSet.Builder<T>, com.google.common.collect.ImmutableSet<T>> Collect a stream of elements into anImmutableSet.
-
Constructor Details
-
GuavaCollectors
public GuavaCollectors()
-
-
Method Details
-
immutableList
public static <T> Collector<T,com.google.common.collect.ImmutableList.Builder<T>, immutableList()com.google.common.collect.ImmutableList<T>> Collect a stream of elements into anImmutableList. -
immutableSet
public static <T> Collector<T,com.google.common.collect.ImmutableSet.Builder<T>, immutableSet()com.google.common.collect.ImmutableSet<T>> Collect a stream of elements into anImmutableSet.
-