Package org.apache.torque.util
Class ListOrderedMapCI<T>
- All Implemented Interfaces:
Serializable,Cloneable,Map<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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(Object key) Test if the key exists in the mapping.Get the object associated with this key.Adds a value to the end of the list with the specified key.Removes the mapping for the specified key.Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesMethods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, isEmpty, merge, putAll, putIfAbsent, remove, replace, replace, sizeMethods inherited from class java.util.AbstractMap
equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, replace, replace, size
-
Constructor Details
-
ListOrderedMapCI
public ListOrderedMapCI()
-
-
Method Details
-
get
Get the object associated with this key. -
put
Adds a value to the end of the list with the specified key. -
remove
Removes the mapping for the specified key. -
containsKey
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.
-