Type Params | Return Type | Name and description |
---|---|---|
|
abstract Object |
getAt(Object key) Enables the object[foo] syntax |
<T> |
abstract T |
getProperty(String key, Class<T> targetType) Return the property value associated with the given key, or null
if the key cannot be resolved. |
<T> |
abstract T |
getProperty(String key, Class<T> targetType, T defaultValue) Return the property value associated with the given key, or null
if the key cannot be resolved. |
<T> |
abstract T |
getRequiredProperty(String key, Class<T> targetType) Return the property value associated with the given key, converted to the given targetType (never null ). |
|
abstract Object |
navigate(String[] path) Navigate the map for the given path |
|
abstract void |
setAt(Object key, Object value) Enables the object[foo] = 'stuff' syntax |
Enables the object[foo] syntax
key
- The key Return the property value associated with the given key, or null
if the key cannot be resolved.
key
- the property name to resolvetargetType
- the expected type of the property value Return the property value associated with the given key, or null
if the key cannot be resolved.
key
- the property name to resolvetargetType
- the expected type of the property value Return the property value associated with the given key, converted to the given
targetType (never null
).
Navigate the map for the given path @return
path
- The path