Skip to content

Conversation

@raphw
Copy link

@raphw raphw commented Jul 22, 2021

I am not sure if you wanted to add this, but with these changes all trees become iterable over their values. This can be rather convenient, especially with newer Java versions where tree contents are stream processed.

You can already achieve this by searching for an empty string as a key, but I felt like this would make using code more readable with a minor performance benefit. Please consider this as a suggestion, I fully understand if you did not want to add this, too. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants