Search:

Type: Posts; User: Junky

Search: Search took 0.14 seconds.

  1. Replies
    5
    Views
    3,174

    Re: HashMap Shuffle Card

    Another thing, shuffling a Map makes no sense. The items are placed into "buckets" based on some hashing funtion. They are not stored in any particular order thus they cannot be shuffled.
  2. Replies
    5
    Views
    3,174

    Re: HashMap Shuffle Card

    OK so you are required to use HashMap but why do have six of them? You only need one. Clean your code up and you might be able to see things more clearly.
  3. Replies
    5
    Views
    3,174

    Re: HashMap Shuffle Card

    Do you honestly think that people will be able to help without a more detailed explanation than that?

    Why are you using HashMaps at all? Just create a Card class that has a rank and suit. Then...
Results 1 to 3 of 3