SyntaxFix
Write A Post
Hire A Developer
Questions
If you don't care about the order this should work:
Set<Direction> directions = EnumSet.allOf(Direction.class); for(Direction direction : directions) { // do stuff }