Package io.smallrye.config
Class ConfigValueConfigSource.ConfigValueMapView
- java.lang.Object
-
- java.util.AbstractMap<String,String>
-
- io.smallrye.config.ConfigValueConfigSource.ConfigValueMapView
-
- Enclosing interface:
- ConfigValueConfigSource
public static final class ConfigValueConfigSource.ConfigValueMapView extends AbstractMap<String,String>
TheConfigValueConfigSource.ConfigValueMapViewis a view over a Map of String configs names andConfigValuevalues.Use it to wrap a Map of
ConfigValueand expose it where a Map of String name and a String value is required.
-
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<String,String>>entrySet()Stringget(Object key)booleanisEmpty()Set<String>keySet()intsize()Collection<String>values()-
Methods inherited from class java.util.AbstractMap
clear, clone, equals, hashCode, put, putAll, remove, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,String>- Overrides:
containsKeyin classAbstractMap<String,String>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,String>- Overrides:
containsValuein classAbstractMap<String,String>
-
values
public Collection<String> values()
-
-