| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.collection |
many collection utility class
|
| 限定符和类型 | 方法和说明 |
|---|---|
BoundedConcurrentHashMap.Eviction |
BoundedConcurrentHashMap.EvictionPolicy.strategy()
Returns type of eviction algorithm (strategy).
|
static BoundedConcurrentHashMap.Eviction |
BoundedConcurrentHashMap.Eviction.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static BoundedConcurrentHashMap.Eviction[] |
BoundedConcurrentHashMap.Eviction.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 构造器和说明 |
|---|
BoundedConcurrentHashMap(int capacity,
int concurrencyLevel,
BoundedConcurrentHashMap.Eviction evictionStrategy)
Creates a new, empty map with the specified maximum capacity, load factor, concurrency
level and eviction strategy.
|
BoundedConcurrentHashMap(int capacity,
int concurrencyLevel,
BoundedConcurrentHashMap.Eviction evictionStrategy,
BoundedConcurrentHashMap.EvictionListener<K,V> evictionListener)
Creates a new, empty map with the specified maximum capacity, load factor and concurrency
level.
|
Copyright © 2020. All rights reserved.