Thanks for the input guys. Seems like the standard...
# getting-started
w
Thanks for the input guys. Seems like the standard way to go is to use concurrent collections from standard lib if possible and if you want to synchronize at a higher-level to maintain a lock and make sure that reads get a snapshot of data at the read time by copying into a list basically. Iterator's are dangerous the best you can do is use
CopyOnWriteArrayList
or else there are literally no guarantees