| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.collection |
many collection utility class
|
| com.jn.langx.util.collection.multivalue | |
| com.jn.langx.util.struct | |
| com.jn.langx.util.struct.pair |
| 限定符和类型 | 方法和说明 |
|---|---|
static <E,C extends Collection<E>> |
Collects.findNPairs(C collection,
Predicate2<Integer,E> predicate,
int n)
find the first matched element, null if not found
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V,K1,V1,M extends Map<K,V>> |
Collects.map(M map,
Mapper2<K,V,Pair<K1,V1>> mapper)
mapping aMap to bMap
|
static <E,K,V,M extends Map<K,V>> |
Collects.map(Object anyObject,
Mapper<E,Pair<K,V>> mapper)
mapping an iterable to a map
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V,P extends Pair<K,V>,C extends Iterable<P>> |
MultiValueMaps.toMultiValueMap(C pairs) |
static <K,V,P extends Pair<K,V>> |
MultiValueMaps.toMultiValueMap(P[] pairs) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V,P extends Pair<K,V>> |
MultiValueMaps.toMultiValueMap(P[] pairs) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Entry<K,V> |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DoubleNameValuePair |
class |
IntegerNameValuePair |
class |
LongNameValuePair |
class |
NameValuePair<V> |
class |
StringNameValuePair |
Copyright © 2022. All rights reserved.