| Constructor and Description |
|---|
ValueMapImmutable(Map<Property<?>,Object> loadedValues) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getEffectiveValue(Property<T> prop)
The explicitly value, or if that is null, the default (which may also be null).
|
<T> T |
getExplicitValue(Property<T> prop)
Get a value explicitly configured.
|
boolean |
isExplicitlySet(Property<?> prop)
Returns true if the Property's value was explicitly set via one of the loaders.
|
public <T> T getExplicitValue(Property<T> prop)
ValueMapgetExplicitValue in interface ValueMapT - prop The property to get the value forpublic <T> T getEffectiveValue(Property<T> prop)
ValueMapgetEffectiveValue in interface ValueMapprop - The property to get the value for.public boolean isExplicitlySet(Property<?> prop)
ValueMapisExplicitlySet in interface ValueMapprop - The property to checkCopyright © 2017. All rights reserved.