Skip to content

About Using EnumSet Instead of Flags #59

@antaow

Description

@antaow

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions