public static interface DerivedProperty.SourceValues
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Attribute<T> attribute)
Returns the source value associated with the given attribute.
|
default <T> Optional<T> |
getOptional(Attribute<T> attribute)
Returns the source value associated with the given attribute.
|
<T> T get(Attribute<T> attribute)
T
- the value typeattribute
- the attribute which value to retrievedefault <T> Optional<T> getOptional(Attribute<T> attribute)
T
- the value typeattribute
- the attribute which value to retrieve