-
- All Implemented Interfaces:
- Serializable, org.apache.logging.log4j.util.ReadOnlyStringMap, org.apache.logging.log4j.util.StringMap
public class JdkMapAdapterStringMap
extends Object
implements org.apache.logging.log4j.util.StringMap
Provides a read-only StringMap
view of a Map<String, String>
.
- See Also:
- Serialized Form
-
-
Method Detail
-
forEach
public <V,S> void forEach(org.apache.logging.log4j.util.TriConsumer<String,? super V,S> action,
S state)
- Specified by:
forEach
in interface org.apache.logging.log4j.util.ReadOnlyStringMap
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface org.apache.logging.log4j.util.ReadOnlyStringMap
-
size
public int size()
- Specified by:
size
in interface org.apache.logging.log4j.util.ReadOnlyStringMap
-
clear
public void clear()
- Specified by:
clear
in interface org.apache.logging.log4j.util.StringMap
-
freeze
public void freeze()
- Specified by:
freeze
in interface org.apache.logging.log4j.util.StringMap
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interface org.apache.logging.log4j.util.StringMap
- Overrides:
hashCode
in class Object
Copyright © 1999-2021 The 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.