Package org.miaixz.bus.core.center.map
Class CaseInsensitiveTreeMap<K,V>
java.lang.Object
org.miaixz.bus.core.center.map.MapWrapper<K,V>
org.miaixz.bus.core.center.map.TransMap<K,V>
org.miaixz.bus.core.center.map.CustomKeyMap<K,V>
org.miaixz.bus.core.center.map.FuncKeyMap<K,V>
org.miaixz.bus.core.center.map.CaseInsensitiveMap<K,V>
org.miaixz.bus.core.center.map.CaseInsensitiveTreeMap<K,V>
- Type Parameters:
K- 键类型V- 值类型
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Map.Entry<K,,V>> Map<K,,V> Wrapper<Map<K,V>>
忽略大小写的
TreeMap
对KEY忽略大小写,get("Value")和get("value")获得的值相同,put进入的值也会被覆盖- Since:
- Java 17+
- Author:
- Kimi Liu
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescription构造CaseInsensitiveTreeMap(Comparator<? super K> comparator) 构造CaseInsensitiveTreeMap(Map<? extends K, ? extends V> m) 构造 -
Method Summary
Methods inherited from class org.miaixz.bus.core.center.map.FuncKeyMap
customKeyMethods inherited from class org.miaixz.bus.core.center.map.CustomKeyMap
customValueMethods inherited from class org.miaixz.bus.core.center.map.TransMap
compute, computeIfAbsent, computeIfPresent, containsKey, get, getOrDefault, merge, put, putAll, putIfAbsent, remove, remove, replace, replaceMethods inherited from class org.miaixz.bus.core.center.map.MapWrapper
clear, clone, containsValue, entrySet, equals, forEach, getRaw, hashCode, isEmpty, iterator, keySet, replaceAll, size, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CaseInsensitiveTreeMap
public CaseInsensitiveTreeMap()构造 -
CaseInsensitiveTreeMap
构造- Parameters:
m- Map
-
CaseInsensitiveTreeMap
构造- Parameters:
comparator- 比较器,null表示使用默认比较器
-