Package io.smallrye.config
Class KeyMap<V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,KeyMap<V>>
-
- io.smallrye.config.KeyMap<V>
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,KeyMap<V>>
public final class KeyMap<V> extends HashMap<String,KeyMap<V>>
A multi-level key map.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Method Summary
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
-
-
-
Method Detail
-
hasRootValue
public boolean hasRootValue()
-
getRootValue
public V getRootValue()
-
removeRootValue
public V removeRootValue()
-
find
public KeyMap<V> find(NameIterator ni)
-
findOrAdd
public KeyMap<V> findOrAdd(NameIterator ni)
-
findRootValue
public V findRootValue(NameIterator ni)
-
hasRootValue
public boolean hasRootValue(String path)
-
hasRootValue
public boolean hasRootValue(NameIterator ni)
-
map
public <P,V2> KeyMap<V2> map(P param, BiFunction<P,V,V2> conversion)
-
toString
public StringBuilder toString(StringBuilder b)
-
-