I looked under the hood for EnumSet.allOf and it looks very efficient, especially for enums with less than 64 values.
Basically all sets share the singl
The values() method is more clear and performant if you just want to iterate over all possible enum values. The values are cached by the class (see Class.getEnumConstants())
If you need a subset of values, you should use an EnumSet. Start with allOf() or noneOf() and add or remove values or use just of() as you need.