Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] ease-dev Digest, Vol 27, Issue 7

On 6 March 2017 at 04:55, Prash D <prashanthd912@xxxxxxxxx> wrote:
> If there is a single writer then, instead of synchronization, will
> iterator's remove method work?
You still need synchronization. Have a look at
https://docs.oracle.com/javase/8/docs/api/java/util/Collections.html#synchronizedList-java.util.List-
What I meant by different options is that there are different
synchronization collection types. e.g.
https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CopyOnWriteArrayList.html

PS Any chance you could switch your subscription on ease-dev to
non-digest. By replying to digest emails your emails are not threaded
properly with earlier conversations.
https://dev.eclipse.org/mhonarc/lists/ease-dev/threads.html#00549

Jonah


Back to the top