Class GcCaseIgnoreHashMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,Object>
edu.internet2.middleware.grouperClient.jdbc.GcCaseIgnoreHashMap
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
Object>
Map with string key which ignores key case and has some convenience methods.
- 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
Modifier and TypeMethodDescriptionGet an object from the map.Get a date from the map.Get a date from the map.getInteger
(Object key) Get an integer from the map.Get a long from the map.Get a string from the map.getTimestamp
(Object key) Get a timestamp from the map.static void
loadBoundDataConversion
(GcBoundDataConversion _boundDataConversion) This is the helper to convert data to and from Oracle, which has a default of BoundDataConversionImpl.Put an object into the map.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, containsKey, isEmpty, merge, putAll, 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, containsKey, equals, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Constructor Details
-
GcCaseIgnoreHashMap
public GcCaseIgnoreHashMap()
-
-
Method Details
-
loadBoundDataConversion
This is the helper to convert data to and from Oracle, which has a default of BoundDataConversionImpl. If you encounter errors getting and setting data from oracle to java, you may need to override the default and set your version here. Otherwise, nothing is needed.- Parameters:
_boundDataConversion
- the boundDataConversion to set.
-
put
Put an object into the map. -
get
Get an object from the map. -
getString
Get a string from the map.- Parameters:
key
- is the key of the object.- Returns:
- the object.
-
getLong
Get a long from the map.- Parameters:
key
- is the key of the object.- Returns:
- the object.
-
getInteger
Get an integer from the map.- Parameters:
key
- is the key of the object.- Returns:
- the object.
-
getTimestamp
Get a timestamp from the map.- Parameters:
key
- is the key of the object.- Returns:
- the object.
-
getDate
Get a date from the map.- Parameters:
key
- is the key of the object.- Returns:
- the object.
-
getDouble
Get a date from the map.- Parameters:
key
- is the key of the object.- Returns:
- the object.
-