Package | Description |
---|---|
cn.hutool.core.collection |
集合以及Iterator封装,包括集合工具CollUtil,Iterator和Iterable工具IterUtil
|
cn.hutool.core.map |
Map相关封装,提供特殊Map实现以及Map工具MapUtil
|
Constructor and Description |
---|
UniqueKeySet(MapBuilder<K,V> builder,
Function<V,K> uniqueGenerator)
构造
|
Modifier and Type | Method and Description |
---|---|
static <K,V> MapBuilder<K,V> |
MapUtil.builder()
创建链接调用map
|
static <K,V> MapBuilder<K,V> |
MapUtil.builder(K k,
V v)
创建链接调用map
|
static <K,V> MapBuilder<K,V> |
MapUtil.builder(Map<K,V> map)
创建链接调用map
|
MapBuilder<K,V> |
MapBuilder.clear()
清空Map
|
static <K,V> MapBuilder<K,V> |
MapBuilder.create()
创建Builder,默认HashMap实现
|
static <K,V> MapBuilder<K,V> |
MapBuilder.create(boolean isLinked)
创建Builder
|
static <K,V> MapBuilder<K,V> |
MapBuilder.create(Map<K,V> map)
创建Builder
|
MapBuilder<K,V> |
MapBuilder.put(boolean condition,
K k,
Supplier<V> supplier)
链式Map创建
|
MapBuilder<K,V> |
MapBuilder.put(boolean condition,
K k,
V v)
链式Map创建
|
MapBuilder<K,V> |
MapBuilder.put(K k,
V v)
链式Map创建
|
MapBuilder<K,V> |
MapBuilder.putAll(Map<K,V> map)
链式Map创建
|
Copyright © 2024. All rights reserved.