| 程序包 | 说明 |
|---|---|
| shz | |
| shz.model |
| 限定符和类型 | 方法和说明 |
|---|---|
static <E,K> Map<K,List<E>> |
ToMap.topN(Collection<E> collection,
Function<E,TopInfo<K>> group,
Predicate<E> filter,
BiFunction<E,E,Integer> comparator) |
static <E,K> Map<K,List<E>> |
ToMap.topN(Consumer<Consumer<E>> runnable,
Function<E,TopInfo<K>> group,
Predicate<E> filter,
BiFunction<E,E,Integer> comparator)
获取topN
|
static <E,K> Map<K,List<E>> |
ToMap.topN(Supplier<E> supplier,
Function<E,TopInfo<K>> group,
Predicate<E> filter,
BiFunction<E,E,Integer> comparator) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K> TopInfo<K> |
TopInfo.of(K key,
int n) |
Copyright © 2022. All rights reserved.