If you bypass the concurrent collection via foreach and make changes to each element, is it thread-safe?

Viewed 39

If you bypass the concurrent collection via foreach and make changes to each element, is it thread-safe?

epm.getA().values().forEach(a -> a.setN(...))
0 Answers
Related