@java.lang.Deprecated @groovy.transform.EqualsAndHashCode @groovy.transform.CompileStatic class NavigableMap extends java.lang.Object implements java.util.Map<java.lang.String, java.lang.Object>, java.lang.Cloneable
config.getProperty(String key, Class<T> targetType)
instead.Modifiers | Name | Description |
---|---|---|
static class |
NavigableMap.NullSafeNavigator |
|
Modifiers | Name | Description |
---|---|---|
private static org.slf4j.Logger |
LOG |
|
private static java.lang.String |
PROFILES |
|
private static java.util.regex.Pattern |
SPLIT_PATTERN |
|
private static java.lang.String |
SPRING |
|
private static java.lang.String |
SPRING_PROFILES |
|
private static java.lang.String |
SUBSCRIPT_REGEX |
|
private java.util.Map<java.lang.String, java.lang.Object> |
delegateMap |
|
private java.lang.String |
dottedPath |
|
private java.util.List<java.lang.String> |
path |
|
private NavigableMap |
rootConfig |
Type | Name and description |
---|---|
java.lang.Object |
at |
java.util.Map<java.lang.String, java.lang.Object> |
delegateMap |
java.lang.String |
dottedPath |
java.util.List<java.lang.String> |
path |
java.lang.Object |
property |
NavigableMap |
rootConfig |
Constructor and description |
---|
NavigableMap
() |
NavigableMap
(NavigableMap rootConfig, java.util.List<java.lang.String> path) |
private NavigableMap
(NavigableMap rootConfig, java.util.List<java.lang.String> path, java.util.Map<java.lang.String, java.lang.Object> delegateMap) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
clear() |
|
NavigableMap |
clone() |
|
boolean |
containsKey(java.lang.Object key) |
|
boolean |
containsValue(java.lang.Object value) |
|
java.util.Set<Map.Entry<java.lang.String, java.lang.Object>> |
entrySet() |
|
boolean |
equals(java.lang.Object obj) |
|
private void |
fill(java.util.List list, java.lang.Integer toIndex, java.lang.Object value) |
|
private void |
flattenKeys(java.util.Map<? extends java.lang.Object, java.lang.Object> flatConfig, java.util.Map currentMap, java.util.List<java.lang.String> path, boolean forceStrings) |
|
java.lang.Object |
get(java.lang.Object key) |
|
java.lang.Object |
getAt(java.lang.Object key) |
|
java.lang.Object |
getProperty(java.lang.String name) |
|
int |
hashCode() |
|
boolean |
isEmpty() |
|
java.util.Set<java.lang.String> |
keySet() |
|
void |
merge(java.util.Map sourceMap, boolean parseFlatKeys) |
|
protected void |
mergeMapEntry(NavigableMap rootMap, java.lang.String path, NavigableMap targetMap, java.lang.String sourceKey, java.lang.Object sourceValue, boolean parseFlatKeys, boolean isNestedSet) |
|
protected java.lang.Object |
mergeMapEntry(NavigableMap targetMap, java.lang.String sourceKey, java.lang.Object newValue) |
|
private void |
mergeMaps(NavigableMap rootMap, java.lang.String path, NavigableMap targetMap, java.util.Map sourceMap, boolean parseFlatKeys) |
|
java.lang.Object |
navigate(java.lang.String[] path) |
|
private java.lang.Object |
navigateMap(java.util.Map<java.lang.String, java.lang.Object> map, java.lang.String[] path) |
|
NavigableMap |
navigateSubMap(java.util.List<java.lang.String> path, boolean createMissing) |
|
java.lang.Object |
put(java.lang.String key, java.lang.Object value) |
|
void |
putAll(java.util.Map<? extends java.lang.String, ? extends java.lang.Object> m) |
|
java.lang.Object |
remove(java.lang.Object key) |
|
void |
setAt(java.lang.Object key, java.lang.Object value) |
|
void |
setProperty(java.lang.String name, java.lang.Object value) |
|
private boolean |
shouldSkipBlock(java.util.Map sourceMap, java.lang.String path) |
|
int |
size() |
|
java.util.Map<java.lang.String, java.lang.Object> |
toFlatConfig() |
|
java.util.Properties |
toProperties() |
|
java.lang.String |
toString() |
|
java.util.Collection<java.lang.Object> |
values() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation