| Modifier and Type | Method and Description |
|---|---|
static <T> Collector<T,com.google.common.collect.ImmutableList.Builder<T>,com.google.common.collect.ImmutableList<T>> |
toImmutableList()
Deprecated.
in 1.11.0 consider using
ImmutableList.toImmutableList() instead. |
static <T> Collector<T,com.google.common.collect.ImmutableSet.Builder<T>,com.google.common.collect.ImmutableSet<T>> |
toImmutableSet()
Deprecated.
in 1.11.0 consider using
ImmutableSet.toImmutableSet() instead. |
@Deprecated public static <T> Collector<T,com.google.common.collect.ImmutableSet.Builder<T>,com.google.common.collect.ImmutableSet<T>> toImmutableSet()
ImmutableSet.toImmutableSet() instead.Collector that accumulates the input elements into a
new ImmutableSet.T - typeCollector which collects all the input elements into a
ImmutableSet@Deprecated public static <T> Collector<T,com.google.common.collect.ImmutableList.Builder<T>,com.google.common.collect.ImmutableList<T>> toImmutableList()
ImmutableList.toImmutableList() instead.Collector that accumulates the input elements into a
new ImmutableList.T - typeCollector which collects all the input elements into a
ImmutableList, in encounter order