Package org.apache.torque.util
Class ListOrderedMapCI<T>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<String,T>
-
- org.apache.torque.util.ListOrderedMapCI<T>
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,T>
public class ListOrderedMapCI<T> extends LinkedHashMap<String,T>
A subclass of LinkedHashMap that has case insensitive String key methods.- Version:
- $Id: ListOrderedMapCI.java 1839288 2018-08-27 09:48:33Z tv $
- Author:
- Greg Monroe
- 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>
-
-
Constructor Summary
Constructors Constructor Description ListOrderedMapCI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsKey(Object key)Test if the key exists in the mapping.Tget(Object key)Get the object associated with this key.Tput(String key, T value)Adds a value to the end of the list with the specified key.Tremove(Object key)Removes the mapping for the specified key.-
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, putAll, 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, putAll, putIfAbsent, remove, replace, replace, size
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
Test if the key exists in the mapping.- Specified by:
containsKeyin interfaceMap<String,T>- Overrides:
containsKeyin classHashMap<String,T>- Parameters:
key- The case insensitive key to test for.- Returns:
- True if the key exists.
-
-