public interface Collector<T>
Iterable to a Collection.
Collectors has implementations of collectors for some collection types.| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
collect(Iterable<T> iterable)
Collects elements from
Iterable into a Collection. |
Collection<T> collect(Iterable<T> iterable)
Iterable into a Collection.iterable - Iterable to collect elements from.Copyright © 2018. All rights reserved.