| Modifier and Type | Method and Description |
|---|---|
static <T> Collector<T> |
arrayList()
|
static <T> Collector<T> |
hashSet()
|
static <T> Collector<T> |
linkedList()
Creates a collector which reads
Iterable into an LinkedList |
static <T> Collector<T> |
treeSet()
|
public static <T> Collector<T> arrayList()
public static <T> Collector<T> linkedList()
Iterable into an LinkedListT - Type of elements.Collector into LinkedListpublic static <T> Collector<T> hashSet()
Copyright © 2018. All rights reserved.