Search:

Type: Posts; User: Purple01

Search: Search took 0.07 seconds.

  1. [SOLVED] Re: Get a new key in HashMap with values of another key.

    Oh wait, I understand.
    So I have done that now, and it all goes a I wish it would.

    Thanks for the help Norm.
  2. [SOLVED] Re: Get a new key in HashMap with values of another key.

    Isn't there just a fiction to make in a HashMap a key diffrent?

    Like:
    (key) Index = (value) text
    (key) Max = (value) boy
    (key) Rose = (value) girl

    And then change it to:
    (key) Index =...
  3. [SOLVED] Re: Get a new key in HashMap with values of another key.

    But then everything breaks.
    And that is also not what I want.
  4. [SOLVED] Re: Get a new key in HashMap with values of another key.

    I now now why I have this error.

    Is there any way I can stop that while loop when
    if (key.equalsIgnoreCase(ArrayKey2))
    is runned?

    Or like to break this: Object keyObj = keyIterator.next();...
  5. [SOLVED] Get a new key in HashMap with values of another key.

    I have made a part of my program that needs to match something out of an arrayList with Hashmap key.
    When there is a match, I would like it to replace the key with the key from the ArrayList....
Results 1 to 5 of 5