Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.19 seconds.

  1. Replies
    20
    Views
    1,927

    [SOLVED] Re: Map not checking for values properly

    I understand what you said perfectly. Do you understand what I have said?



    I disagree. There's a difference between not giving any answers at all and giving an answer but adding a caveat that...
  2. Replies
    20
    Views
    1,927

    [SOLVED] Re: Map not checking for values properly

    I've already explained this to you- I don't KNOW the best way, simply because I don't know the specifics of your situation. Every single context is different. And even if I did know the exact context...
  3. Replies
    20
    Views
    1,927

    [SOLVED] Re: Map not checking for values properly

    Suit yourself. I'm still not sure where your attitude is coming from, I thought you were on the right track. I don't think it's outrageous for me to ask to see what you've got so far. I will say, for...
  4. Replies
    20
    Views
    1,927

    [SOLVED] Re: Map not checking for values properly

    Drop the attitude, right now, or I'm done. I did nothing to warrant that. I told you to use a Map of Lists, which is a pretty specific answer. However, since I don't actually know the details of your...
  5. Replies
    20
    Views
    1,927

    [SOLVED] Re: Map not checking for values properly

    Creating a Map with a value being a List seems reasonable to me. That doesn't mean there isn't a better way. But it seems reasonable.



    What happened when you tried? :p
  6. Replies
    20
    Views
    1,927

    [SOLVED] Re: Map not checking for values properly

    I see. A Map might be the way to go here, but you're going to need a List of every value you've seen for each key. Right now you're only storing the most recently seen value for each key.
  7. Replies
    20
    Views
    1,927

    [SOLVED] Re: Map not checking for values properly

    The code you posted doesn't really give us much information, and we don't know what it's supposed to do or what it's doing. You've used variables that we have no idea the values of, or if they even...
  8. Replies
    20
    Views
    1,927

    [SOLVED] Re: Map not checking for values properly

    If you want help, you'll have to provide an SSCCE that demonstrates the problem. Otherwise we're just guessing at the code we can't see.
Results 1 to 8 of 8