Package io.smallrye.config
Class KeyMap<V>
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,KeyMap<V>>
A multi-level key map.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfind(NameIterator ni) findOrAdd(NameIterator path) findRootValue(String path) getAny()getOrComputeRootValue(Supplier<V> supplier) getRootValueOrDefault(V defaultVal) booleanbooleanbooleanbooleanhasRootValue(String path) keySet()<V2> KeyMap<V2> <P,V2> KeyMap <V2> map(P param, BiFunction<P, V, V2> conversion) voidvoidputAnyIfAbsent(KeyMap<V> any) putRootValue(V rootValue) toString()Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, merge, put, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode
-
Constructor Details
-
KeyMap
public KeyMap(int initialCapacity, float loadFactor) -
KeyMap
public KeyMap(int initialCapacity) -
KeyMap
public KeyMap()
-
-
Method Details
-
get
-
getAny
-
getOrCreateAny
-
putAny
-
putAnyIfAbsent
-
hasRootValue
public boolean hasRootValue() -
getRootValue
-
getRootValueOrDefault
-
getOrComputeRootValue
-
removeRootValue
-
putRootValue
-
find
-
find
-
find
-
find
-
findOrAdd
-
findOrAdd
-
findOrAdd
-
findOrAdd
-
findOrAdd
-
findOrAdd
-
findRootValue
-
findRootValue
-
hasRootValue
-
hasRootValue
-
hasRootValue
-
map
-
map
-
putAll
-
putAll
-
keySet
-
toString
-
toString
- Overrides:
toStringin classAbstractMap<String,KeyMap<V>>
-