public abstract class AbstractConfigMapImpl extends java.lang.Object implements ConfigMap
Constructor and Description |
---|
AbstractConfigMapImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
asMapWithStringKeys()
returns a read-only map view which has string keys (corresponding to the config key names);
callers encouraged to use the typed keys (and so not use this method),
but in some compatibility areas having a Properties-like view is useful
|
<T> T |
getConfig(ConfigKey.HasConfigKey<T> key) |
<T> T |
getConfig(ConfigKey.HasConfigKey<T> key,
T defaultValue) |
<T> T |
getConfig(ConfigKey<T> key) |
java.lang.Object |
getRawConfig(ConfigKey<?> key)
Deprecated.
|
boolean |
isEmpty() |
int |
size() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllConfig, getConfig, getConfigRaw, submap
public <T> T getConfig(ConfigKey<T> key)
public <T> T getConfig(ConfigKey.HasConfigKey<T> key)
public <T> T getConfig(ConfigKey.HasConfigKey<T> key, T defaultValue)
@Deprecated public java.lang.Object getRawConfig(ConfigKey<?> key)
ConfigMap
#getConfigRaw(ConfigKey)
but returning null if not presentgetRawConfig
in interface ConfigMap
public java.util.Map<java.lang.String,java.lang.Object> asMapWithStringKeys()
ConfigMap
asMapWithStringKeys
in interface ConfigMap