Is it possible to create ArrayList of enum values (and manipulate it)? For example:
enum MyEnum { ONE, TWO } MyEnum my = MyEnum.ONE; List > al = new
You can simply write
new ArrayList(Arrays.asList(MyEnum.values()));