Package org.apache.ibatis.util
Class MapUtil
java.lang.Object
org.apache.ibatis.util.MapUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic <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 .
This class should be removed once we drop Java 8 support.static <K,
V> Map.Entry <K, V> entry
(K key, V value) Map.entry(key, value) alternative for Java 8.
-
Method Details
-
computeIfAbsent
A temporary workaround for Java 8 specific performance issue JDK-8161372 .
This class should be removed once we drop Java 8 support.- See Also:
-
entry
Map.entry(key, value) alternative for Java 8.
-