Skip to content
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

About Using EnumSet Instead of Flags #59

Open
antaow opened this issue Jun 28, 2022 · 0 comments
Open

About Using EnumSet Instead of Flags #59

antaow opened this issue Jun 28, 2022 · 0 comments

Comments

@antaow
Copy link

antaow commented Jun 28, 2022

Bruce,

When I read your chapter on Enumerations, In the section of Using EnumSet Instead of Flags, original text:you’ll see that the of() method is overloaded both with varargs and with individual methods taking two through five explicit arguments.

The question is as follows:

I found that there are 1-5 parameters
CleanShot 2022-06-28 at 21 55 07@2x

My java version is "17.0.1" 2021-10-19 LTS

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

No branches or pull requests

1 participant