public class ValidatedValuesImmutable extends Object implements ValidatedValues
| Constructor and Description |
|---|
ValidatedValuesImmutable(Map<Property<?>,Object> loadedValues) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getExplicitValue(Property<T> prop)
The value found and loaded for this value by a Loader.
|
<T> T |
getValue(Property<T> prop)
The effective value, similar to Property.getValue, but specifically for
the context of this ValueMap.
|
boolean |
isExplicitlySet(Property<?> prop)
Returns true if the Property's value was explicitly set to a non-null value
via one of the loaders.
|
public <T> T getExplicitValue(Property<T> prop)
ValidatedValuesgetExplicitValue in interface ValidatedValuesT - The return type of the Property.prop - The property to get the value forpublic <T> T getValue(Property<T> prop)
ValidatedValuesgetValue in interface ValidatedValuesT - The return type of the Property.prop - The property to get the value for.public boolean isExplicitlySet(Property<?> prop)
ValidatedValuesisExplicitlySet in interface ValidatedValuesprop - The property to checkCopyright © 2017. All rights reserved.