-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decommission Enum.values()
and replace it with Enum.entries
#284
Conversation
What are the benefits of |
@CLOVIS-AI Set is an unordered collection, but the order is very important for Enum values in many cases, also you cannot access values by index (ordinal) in set, which is one more important case for collection of enum values |
To add to the answer by @gildor, having |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall good text.
Also, since it proposes to introduce new API in a new package, it may make sense to explain that choice: why new package, and why it is named like that.
Co-authored-by: ilya-g <[email protected]>
No description provided.