org.apache.logging.log4j
Class ThreadContext.ImmutableMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,String>
org.apache.logging.log4j.ThreadContext.ImmutableMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,String>
- Enclosing class:
- ThreadContext
public static class ThreadContext.ImmutableMap
- extends HashMap<String,String>
An immutable Context Map.
- See Also:
- Serialized Form
ThreadContext.ImmutableMap
public ThreadContext.ImmutableMap()
ThreadContext.ImmutableMap
public ThreadContext.ImmutableMap(Map<String,String> map)
put
public String put(String s,
String s1)
- Specified by:
put in interface Map<String,String>- Overrides:
put in class HashMap<String,String>
putAll
public void putAll(Map<? extends String,? extends String> map)
- Specified by:
putAll in interface Map<String,String>- Overrides:
putAll in class HashMap<String,String>
remove
public String remove(Object o)
- Specified by:
remove in interface Map<String,String>- Overrides:
remove in class HashMap<String,String>
clear
public void clear()
- Specified by:
clear in interface Map<String,String>- Overrides:
clear in class HashMap<String,String>
Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.