Tools
Sign in
Login
Forum
ConcurrentModificationException possible?
Forum
>
Scripting
>
ConcurrentModificationException possible?
Lorin Schoop
posted
on April 7, 2014
at 5:06 PM
Lorin Schoop
posted
on April 7, 2014
at 5:06 PM
Dear Appway experts
If I iterate over an indexed collection in Appway and remove elements while iterating, could this lead to a ConcurrentModificationException like in Java?
Thanks a lot!
Cheers,
Lorin
n/A
replied
on April 7, 2014
at 5:22 PM
n/A
replied
on April 7, 2014
at 5:22 PM
Hi Lorin,
it normally doesn't happen. You just have to make sure you are not going out of bound if you remove elements with a specific index.
Lorin Schoop
replied
on April 7, 2014
at 5:31 PM
Lorin Schoop
replied
on April 7, 2014
at 5:31 PM
Ciao Mauro,
Thanks for the fast reply. Let's hope "normally" is enough in this case :D
I also tried it in the script editor and I wasn't able to cause such an exception...
Please
sign in
to add a reply
About this site
|
Terms of use
|
Privacy statement
|
Contact us
© 2025 Appway AG. All Rights Reserved.
If I iterate over an indexed collection in Appway and remove elements while iterating, could this lead to a ConcurrentModificationException like in Java?
Thanks a lot!
Cheers,
Lorin