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
Yes it is definitely possible, but you will have to do
List al = new ArrayList();
You can then add elements to al: al.add(ONE) or al.add(TWO).
al
al.add(ONE)
al.add(TWO)