If the API says that its safe against concurrent modification exceptions / save for multithreading then yes. But linked lists are usually slower then array lists in most circumstances.
Type: Posts; User: Cornix
If the API says that its safe against concurrent modification exceptions / save for multithreading then yes. But linked lists are usually slower then array lists in most circumstances.
I would advice you to use a collection that does not throw concurrent modification exceptions when working with multithreading. For example the CopyOnWriteArrayList for the queue of write requests....