| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.collection |
| 限定符和类型 | 方法和说明 |
|---|---|
static <E,K,V> Collector<E,Map<K,V>> |
Collects.toHashMap(Function<E,K> keyMapper,
Function<E,V> valueMapper,
boolean sequential) |
static <E> Collector<E,HashSet<E>> |
Collects.toHashSet(boolean sequential) |
static <E> Collector<E,List<E>> |
Collects.toList() |
static <E,K,V> Collector<E,Map<K,V>> |
Collects.toTreeMap(Function<E,K> keyMapper,
Function<E,V> valueMapper,
Comparator<K> comparator) |
static <E> Collector<E,TreeSet<E>> |
Collects.toTreeSet(Comparator<E> comparator) |
| 限定符和类型 | 方法和说明 |
|---|---|
<R> R |
Pipeline.collect(Collector<E,R> collector) |
static <E,R> R |
Collects.collect(Object anyObject,
Collector<E,R> collector) |
Copyright © 2019. All rights reserved.