Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.10 seconds.

  1. Replies
    12
    Views
    1,298

    Re: Connection problem in Enum

    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.
  2. Replies
    12
    Views
    1,298

    Re: Connection problem in Enum

    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...
  3. Replies
    12
    Views
    1,298

    Re: Connection problem in 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?
Results 1 to 3 of 3