| 限定符和类型 | 字段和说明 |
|---|---|
private static boolean |
IS_JDK8 |
| 限定符 | 构造器和说明 |
|---|---|
private |
MapUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V> V |
computeIfAbsent(Map<K,V> map,
K key,
Function<K,V> mappingFunction)
A temporary workaround for Java 8 specific performance issue JDK-8161372 .
|
static <K,V> Map.Entry<K,V> |
entry(K key,
V value) |
private static int |
getJvmVersion0() |
private static final boolean IS_JDK8
private MapUtil()
private static int getJvmVersion0()
public static <K,V> V computeIfAbsent(Map<K,V> map, K key, Function<K,V> mappingFunction)
Copyright © 2025. All rights reserved.