--- Eduardo Dela Rosa <[EMAIL PROTECTED]> wrote:
> Also, you must be removing or updating object directly inside your list
> object which is why you're getting this error. Try to get a reference to
> Iterator from your ArrayList object and invoke "remove" or "add" methods
> via the Iterator to get away from the ConcurrentModificationException.

Strictly speaking I don't believe that's necessarily true; one can get a
ConcurrentModificationException depending on how a map object is accessed in
the iterator.

(Not totally relevant since we're talking about lists, but thought I'd throw
that out there.)

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to