Package edu.internet2.middleware.subject
Class SubjectCaseInsensitiveMapImpl<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<K,V>
edu.internet2.middleware.subject.SubjectCaseInsensitiveMapImpl<K,V>
- Type Parameters:
K
- key type must be stringV
- value type
- All Implemented Interfaces:
SubjectCaseInsensitiveMap
,Serializable
,Cloneable
,Map<K,
V>
public class SubjectCaseInsensitiveMapImpl<K,V>
extends LinkedHashMap<K,V>
implements SubjectCaseInsensitiveMap
linked hash map with case insensitive matching and tolower attribute names (e.g. for keyset)
- See Also:
-
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> -
Constructor Summary
-
Method Summary
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, 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, replace, replace, size
-
Constructor Details
-
SubjectCaseInsensitiveMapImpl
public SubjectCaseInsensitiveMapImpl() -
SubjectCaseInsensitiveMapImpl
- Parameters:
m
-
-
-
Method Details
-
isInitted
public boolean isInitted()need to know when the map is initialized- Returns:
- if initted
-
get
-
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V> - Overrides:
containsKey
in classHashMap<K,
V> - See Also:
-
put
-
putAll
-
remove
-