Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.13 seconds.

  1. Re: enum, value of: Why is this code line structured the way it is?

    Sort of. You do not have to store the reference to the array in order to use the brackets on it. You can use a call to the .values() method anywhere you would use an array variable (other than...
  2. Re: enum, value of: Why is this code line structured the way it is?

    No problem. Is there anything about my explanation that wasn't clear?
  3. Re: enum, value of: Why is this code line structured the way it is?

    This is a good question. There is some wonky syntax and little-known methods going on here.

    First off, keep in mind that BreakfastItem is an enum- more accurately, an Enum type. Enum types have a...
Results 1 to 3 of 3