- All Implemented Interfaces:
Serializable,Map<String,Object>
- Enclosing class:
ImportConstants
Specific map implementation which wraps the given map in
Collections.unmodifiableMap(Map) and throws an
IllegalArgumentException in get(Object) method when the key doesn't exist at all.
Since 4.6 this class is public instead of private in order to allow the EL implementation to see the new
members() method.
- Author:
- Bauke Scholtz
- See Also:
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.omnifaces.util.MapWrapper
clear, containsKey, containsValue, entrySet, getWrapped, isEmpty, keySet, put, putAll, remove, size, toString, valuesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ConstantsMap
-
-
Method Details
-
get
-
members
Returns Exclusively enum members in case the type is an enum.- Returns:
- Exclusively enum members in case the type is an enum.
- Throws:
IllegalStateException- in case the type is not an enum.- Since:
- 4.6
-
equals
-
hashCode
public int hashCode()
-