| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.collection | |
| com.jn.langx.util.function |
| 限定符和类型 | 方法和说明 |
|---|---|
static <E,R> Collection<R> |
Collects.flatMap(Collection<Collection<E>> collection,
Function<E,R> mapper)
map a collection to another, flat it
|
<I,O> Pipeline<O> |
Pipeline.flatMap(Function<I,O> mapper) |
<O> Pipeline<O> |
Pipeline.map(Function<E,O> mapper) |
static <E,R> Collection<R> |
Collects.map(Object anyObject,
Function<E,R> mapper)
mapping an iterable to a list
|
static <E,K,V> Collector<E,Map<K,V>> |
Collects.toHashMap(Function<E,K> keyMapper,
Function<E,V> valueMapper,
boolean sequential) |
static <E,K,V> Collector<E,Map<K,V>> |
Collects.toHashMap(Function<E,K> keyMapper,
Function<E,V> valueMapper,
boolean sequential) |
static <E,K,V> Collector<E,Map<K,V>> |
Collects.toTreeMap(Function<E,K> keyMapper,
Function<E,V> valueMapper,
Comparator<K> comparator) |
static <E,K,V> Collector<E,Map<K,V>> |
Collects.toTreeMap(Function<E,K> keyMapper,
Function<E,V> valueMapper,
Comparator<K> comparator) |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
Mapper<I,O> |
Copyright © 2019. All rights reserved.