Package | Description |
---|---|
org.dromara.hutool.core.map.concurrent |
并发Map工具类
|
Modifier and Type | Method and Description |
---|---|
static <K,V> EntryWeigher<K,V> |
Weighers.asEntryWeigher(Weigher<? super V> weigher)
A entry weigher backed by the specified weigher.
|
static <K,V> EntryWeigher<K,V> |
Weighers.entrySingleton()
A weigher where an entry has a selector of 1.
|
Modifier and Type | Method and Description |
---|---|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.weigher(EntryWeigher<? super K,? super V> weigher)
Specifies an algorithm to determine how many the units of capacity an
entry consumes.
|
Copyright © 2025. All rights reserved.