Skip to content

Introduce computeAttribute() in AttributeAccessor #26281

@sbrannen

Description

@sbrannen

In order to simplify certain use cases, we should introduce computeAttribute() as a default method in the AttributeAccessor interface, analogous to computeIfAbsent() in java.util.Map.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions