public class NStringMapImpl<V> extends Object implements net.thevpc.nuts.util.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) |
net.thevpc.nuts.util.NOptional<V> |
getOptional(String key) |
net.thevpc.nuts.util.NOptional<V> |
getOptional(String prefix,
String key) |
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) |
char |
separator() |
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) |
public NStringMapImpl<V> clear()
clear in interface net.thevpc.nuts.util.NStringMap<V>public int size()
size in interface net.thevpc.nuts.util.NStringMap<V>public char separator()
separator in interface net.thevpc.nuts.util.NStringMap<V>public Map<String,V> toMap(String prefix)
toMap in interface net.thevpc.nuts.util.NStringMap<V>public Map<String,V> toMap()
toMap in interface net.thevpc.nuts.util.NStringMap<V>public NStringMapImpl<V> removeAll(String prefix)
removeAll in interface net.thevpc.nuts.util.NStringMap<V>public NStringMapImpl<V> putAll(Map<String,V> values)
putAll in interface net.thevpc.nuts.util.NStringMap<V>public V put(String prefix, String key, V value)
put in interface net.thevpc.nuts.util.NStringMap<V>public V put(String key, V value)
put in interface net.thevpc.nuts.util.NStringMap<V>public net.thevpc.nuts.util.NOptional<V> getOptional(String prefix, String key)
getOptional in interface net.thevpc.nuts.util.NStringMap<V>public net.thevpc.nuts.util.NOptional<V> getOptional(String key)
getOptional in interface net.thevpc.nuts.util.NStringMap<V>public V set(String prefix, String key, V value)
set in interface net.thevpc.nuts.util.NStringMap<V>public V set(String key, V value)
set in interface net.thevpc.nuts.util.NStringMap<V>public V remove(String prefix, String key)
remove in interface net.thevpc.nuts.util.NStringMap<V>public Set<String> nextKeys(String prefix)
nextKeys in interface net.thevpc.nuts.util.NStringMap<V>public NStringMapImpl<V> putAll(String prefix, Map<String,V> values)
putAll in interface net.thevpc.nuts.util.NStringMap<V>public NStringMapImpl<V> copy()
copy in interface net.thevpc.nuts.util.NCopiablecopy in interface net.thevpc.nuts.util.NStringMap<V>Copyright © 2026 vpc open source initiative. All rights reserved.