public final class GuavaCollectors extends Object
| Constructor and Description |
|---|
GuavaCollectors() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Collector<T,<any>,<any>> |
immutableList()
Collect a stream of elements into an
ImmutableList. |
static <T> Collector<T,<any>,<any>> |
immutableSet()
Collect a stream of elements into an
ImmutableSet. |
Copyright © 2017 SAP SE. All Rights Reserved.