public class GuavaCollectors extends Object
static import com.github.nill14.utils.java8.stream.GuavaCollectors.*
Collectors| Modifier and Type | Method and Description |
|---|---|
static <T> Collector<T,ImmutableList.Builder<T>,ImmutableList<T>> |
toImmutableList() |
static <T> ImmutableList<T> |
toImmutableList(Stream<T> stream) |
static <T> Collector<T,ImmutableSet.Builder<T>,ImmutableSet<T>> |
toImmutableSet() |
static <T> ImmutableSet<T> |
toImmutableSet(Stream<T> stream) |
public static <T> Collector<T,ImmutableSet.Builder<T>,ImmutableSet<T>> toImmutableSet()
public static <T> Collector<T,ImmutableList.Builder<T>,ImmutableList<T>> toImmutableList()
public static <T> ImmutableList<T> toImmutableList(Stream<T> stream)
public static <T> ImmutableSet<T> toImmutableSet(Stream<T> stream)
Copyright © 2015. All rights reserved.