| Package | Description |
|---|---|
| com.vip.vjtools.vjkit.collection |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> V |
MapUtil.createIfAbsentReturnLast(ConcurrentMap<K,V> map,
K key,
MapUtil.ValueCreator<? extends V> creator)
如果Key不存在则创建,返回最后存储在Map中的Value.
|
Copyright © 2018. All rights reserved.