Skip to content

Make NameAwareAttributes Iterable #937

Closed
@jzheaux

Description

@jzheaux

Working with NamingEnumerations can be cumbersome. Specifically, since each of its methods throws a checked exception, it can be challenging to use its contents inside of a lambda.

If NameAwareAttributes implements Iterable<NameAwareAttribute>, then aside from it being able to use an enhanced for loop, it can also be converted to a stream and use the Stream API.

When adding this, tests should be added to NameAwareAttributesTests to confirm that iteration works.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions