| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public default < The generic attribute type T> T | Returns: The resolved value -null if value not mapped and resolver did not return a
non-null value for itThe key of the attribute; must not be key,null.The (never resolver)null) mapping function to use if value not already mapped. If returns
null then value is not mapped to the provided key.If the specified key is not already associated with a value (or is mapped to |
| public < The generic attribute type T> T | Returns: The removed value;null if no previous valueThe key of the attribute; must not be keynull.Removes the user-defined attribute |
| public < The generic attribute type T> T | Returns: The old value of the attribute;null if it is new.The key of the attribute; must not be key,null.The value of the attribute; must not be value)null.Sets a user-defined attribute. |
| clearAttributes | back to summary |
|---|---|
| public void clearAttributes() Removes all currently stored user-defined attributes | |
| computeAttributeIfAbsent | back to summary |
|---|---|
| public default <T> T computeAttributeIfAbsent(AttributeRepository. If the specified key is not already associated with a value (or is mapped to
| |
| removeAttribute | back to summary |
|---|---|
| public <T> T removeAttribute(AttributeRepository. Removes the user-defined attribute
| |
| setAttribute | back to summary |
|---|---|
| public <T> T setAttribute(AttributeRepository. Sets a user-defined attribute.
| |