Like I said, it's pretty hard to help you without an SSCCE. Keep in mind that an SSCCE should be as short as possible and only contain the relevant code.
Type: Posts; User: KevinWorkman
Like I said, it's pretty hard to help you without an SSCCE. Keep in mind that an SSCCE should be as short as possible and only contain the relevant code.
You're already referring to the enum, when you iterate over its values:
for (Cards type : Cards.values()) {
To refer to a specific enum instance, you just use the enum name followed by the enum...
Which part of this is giving you trouble? Seeing what is stored in a specific index? Comparing two emum values for equality? Something else?