This content has been marked as final. Show 3 replies
It's defeating the point of using an enum.
It sounds like you just need a collection of regular old objects.
What are the particular advantages of an enum that you were hoping you'd be using in doing this? I can't help wondering if the solution is just to be careful to override equals and hashcode properly.