public class JdkMapAdapterStringMap extends Object implements StringMap
StringMap view of a Map<String, String>.| Constructor and Description |
|---|
JdkMapAdapterStringMap() |
JdkMapAdapterStringMap(Map<String,String> map) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(String key) |
boolean |
equals(Object object) |
<V> void |
forEach(BiConsumer<String,? super V> action) |
<V,S> void |
forEach(TriConsumer<String,? super V,S> action,
S state) |
void |
freeze() |
<V> V |
getValue(String key) |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
isFrozen() |
void |
putAll(ReadOnlyStringMap source) |
void |
putValue(String key,
Object value) |
void |
remove(String key) |
int |
size() |
Map<String,String> |
toMap() |
String |
toString() |
public Map<String,String> toMap()
toMap in interface ReadOnlyStringMappublic boolean containsKey(String key)
containsKey in interface ReadOnlyStringMappublic <V> void forEach(BiConsumer<String,? super V> action)
forEach in interface ReadOnlyStringMappublic <V,S> void forEach(TriConsumer<String,? super V,S> action, S state)
forEach in interface ReadOnlyStringMappublic <V> V getValue(String key)
getValue in interface ReadOnlyStringMappublic boolean isEmpty()
isEmpty in interface ReadOnlyStringMappublic int size()
size in interface ReadOnlyStringMappublic void putAll(ReadOnlyStringMap source)
public boolean equals(Object object)
Copyright © 1999-2023 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.