Class ClassConstantsMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- org.silverpeas.core.web.jstl.constant.reflect.ClassConstantsMap
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,Object>
public class ClassConstantsMap extends HashMap<String,Object>
Extension ofjava.util.HashMap
that enforces a "strict" get() method in that it will throw an exception if the specified key has no corresponding Map entry.- 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 ClassConstantsMap(String className)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(Object key)
protected void
init()
Object
put(String key, Object value)
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
ClassConstantsMap
public ClassConstantsMap(String className) throws ClassNotFoundException, IllegalArgumentException, IllegalAccessException
-
-
Method Detail
-
init
protected final void init() throws ClassNotFoundException, IllegalArgumentException, IllegalAccessException
-
-