Search:

Type: Posts; User: Bingo90

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    2,138

    Re: Java hashmap access without exception

    I'm using the hashmap for a tile based game. I'm converting the map into an array because I update these tiles in an update thread.
  2. Replies
    5
    Views
    2,138

    Re: Java hashmap access without exception

    I tried synchronised, but it made it too slow. Just one thread modifies the values, the other just read them.
  3. Replies
    5
    Views
    2,138

    Java hashmap access without exception

    Is it possible to access all values in a hashmap from another thread and changing the content at the same time without getting a java.util.ConcurrentModificationException?
    If yes how? I'm getting...
Results 1 to 3 of 3