public class ConfigSourceMap extends AbstractMap<String,String> implements Map<String,String>
Map<String, String> which is backed by a ConfigSource.
This should not be used to implement ConfigSource.getProperties() on ConfigSource
instances which do not override getPropertyNames(), as this will result in infinite recursion.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ConfigSourceMap(ConfigSource delegate)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key) |
Set<Map.Entry<String,String>> |
entrySet() |
void |
forEach(BiConsumer<? super String,? super String> action) |
String |
get(Object key) |
boolean |
isEmpty() |
Set<String> |
keySet() |
int |
size() |
Collection<String> |
values() |
clear, clone, containsValue, equals, hashCode, put, putAll, remove, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsValue, equals, getOrDefault, hashCode, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAllpublic ConfigSourceMap(ConfigSource delegate)
delegate - the delegate configuration source (must not be null)public int size()
public boolean isEmpty()
public boolean containsKey(Object key)
containsKey in interface Map<String,String>containsKey in class AbstractMap<String,String>public Collection<String> values()
Copyright © 2019 JBoss by Red Hat. All rights reserved.