- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<String,V>
-
- xyz.cofe.collection.ICaseStringMap<V>
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,V>
public class ICaseStringMap<V> extends LinkedHashMap<String,V>
Карта Строка/Объект, где ключ является регистро независимым- Author:
- gocha
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanignoreCase
-
Constructor Summary
Constructors Constructor Description ICaseStringMap()КонструкторICaseStringMap(boolean ignoreCase)Конструктор
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsKey(Object key)Проверка наличия ключаVget(Object key)Получение значения по ключуbooleanisIgnoreCase()Возвращает факт игнорирования регистраVput(String key, V value)Установка значения по ключуvoidputAll(Map<? extends String,? extends V> m)Слияние данных из другой карты-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, size
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, hashCode, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Method Detail
-
isIgnoreCase
public boolean isIgnoreCase()
Возвращает факт игнорирования регистра- Returns:
- true - регистр игнорируется
-
containsKey
public boolean containsKey(Object key)
Проверка наличия ключа- Specified by:
containsKeyin interfaceMap<String,V>- Overrides:
containsKeyin classHashMap<String,V>- Parameters:
key- ключ- Returns:
- true - есть в карте
-
-