public class NStringMapImpl<V> extends Object implements NStringMap<V>
| Constructor and Description |
|---|
NStringMapImpl(Map<String,V> map,
char separator) |
| Modifier and Type | Method and Description |
|---|---|
NStringMapImpl<V> |
clear() |
NStringMapImpl<V> |
copy() |
V |
get(String key) |
NOptional<V> |
getOptional(String key) |
NOptional<V> |
getOptional(String prefix,
String key) |
char |
getSeparator() |
Set<String> |
nextKeys(String prefix) |
V |
put(String prefix,
String key,
V value) |
V |
put(String key,
V value) |
NStringMapImpl<V> |
putAll(Map<String,V> values) |
NStringMapImpl<V> |
putAll(String prefix,
Map<String,V> values) |
V |
remove(String prefix,
String key) |
NStringMapImpl<V> |
removeAll(String prefix) |
V |
set(String prefix,
String key,
V value) |
V |
set(String key,
V value) |
int |
size() |
Map<String,V> |
toMap() |
Map<String,V> |
toMap(String prefix) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofpublic NStringMapImpl<V> clear()
clear in interface NStringMap<V>public int size()
size in interface NStringMap<V>public char getSeparator()
getSeparator in interface NStringMap<V>public NStringMapImpl<V> removeAll(String prefix)
removeAll in interface NStringMap<V>public NStringMapImpl<V> putAll(Map<String,V> values)
putAll in interface NStringMap<V>public V get(String key)
get in interface NStringMap<V>public NOptional<V> getOptional(String prefix, String key)
getOptional in interface NStringMap<V>public NOptional<V> getOptional(String key)
getOptional in interface NStringMap<V>public Set<String> nextKeys(String prefix)
nextKeys in interface NStringMap<V>public NStringMapImpl<V> putAll(String prefix, Map<String,V> values)
putAll in interface NStringMap<V>public NStringMapImpl<V> copy()
copy in interface NCopiablecopy in interface NStringMap<V>Copyright © 2026 vpc open source initiative. All rights reserved.