Package org.apache.log4j.pattern
Class ExtrasPatternParser.ReadOnlyMap
java.lang.Object
org.apache.log4j.pattern.ExtrasPatternParser.ReadOnlyMap
- All Implemented Interfaces:
Map
- Enclosing class:
- ExtrasPatternParser
The class wraps another Map but throws exceptions on any attempt to modify the map.
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
map
Wrapped map.
-
-
Constructor Details
-
ReadOnlyMap
Constructor- Parameters:
src
- source map.
-
-
Method Details
-
clear
public void clear() -
containsKey
- Specified by:
containsKey
in interfaceMap
-
containsValue
- Specified by:
containsValue
in interfaceMap
-
entrySet
-
get
-
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-