类 MybatisConfiguration.StrictMap<V>
- 所有已实现的接口:
Serializable
,Cloneable
,Map<String,V>
- 封闭类:
- MybatisConfiguration
protected class MybatisConfiguration.StrictMap<V> extends HashMap<String,V>
- 另请参阅:
- 序列化表格
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 protected class
MybatisConfiguration.StrictMap.Ambiguity
从类继承的嵌套类/接口 java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
构造器概要
-
方法概要
修饰符和类型 方法 说明 MybatisConfiguration.StrictMap<V>
conflictMessageProducer(BiFunction<V,V,String> conflictMessageProducer)
Assign a function for producing a conflict error message when contains value with the same key.V
get(Object key)
V
put(String key, V value)
从类继承的方法 java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
从类继承的方法 java.util.AbstractMap
equals, hashCode, toString
-
构造器详细资料
-
StrictMap
-
-
方法详细资料
-
conflictMessageProducer
public MybatisConfiguration.StrictMap<V> conflictMessageProducer(BiFunction<V,V,String> conflictMessageProducer)Assign a function for producing a conflict error message when contains value with the same key.function arguments are 1st is saved value and 2nd is target value.
- 参数:
conflictMessageProducer
- A function for producing a conflict error message- 返回:
- a conflict error message
- 从以下版本开始:
- 3.5.0
-
put
-
get
-