| 程序包 | 说明 |
|---|---|
| org.dromara.hutool.core.map.multi |
多参数类型的Map实现,包括集合类型值的MultiValueMap和Table
MultiValueMap:一个键对应多个值的集合的实现,类似于树的结构。 |
| org.dromara.hutool.core.stream |
Java8的stream相关封装
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbsTable<R,C,V>
|
class |
RowKeyTable<R,C,V>
将行的键作为主键的
Table实现此结构为: 行=(列=值) |
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
Table.putAll(Table<? extends R,? extends C,? extends V> table)
批量加入
|
| 限定符和类型 | 方法和说明 |
|---|---|
<N> Table<N,K,V> |
EntryStream.toTable(BiFunction<? super K,? super V,? extends N> rowKeyMapper)
|
<N> Table<N,K,V> |
EntryStream.toTable(BiFunction<? super K,? super V,? extends N> rowKeyMapper,
Supplier<Map<K,V>> colMapFactory,
BinaryOperator<V> operator)
|
<N> Table<N,K,V> |
EntryStream.toTableByKey(Function<? super K,? extends N> rowKeyMapper)
|
<N> Table<N,K,V> |
EntryStream.toTableByKey(Function<? super K,? extends N> rowKeyMapper,
Supplier<Map<K,V>> colMapFactory,
BinaryOperator<V> operator)
|
<N> Table<N,K,V> |
EntryStream.toTableByValue(Function<? super V,? extends N> rowKeyMapper)
|
<N> Table<N,K,V> |
EntryStream.toTableByValue(Function<? super V,? extends N> rowKeyMapper,
Supplier<Map<K,V>> colMapFactory,
BinaryOperator<V> operator)
|
Copyright © 2024. All rights reserved.