0

*I have a error message "ConcurrentModificationException" When i try to add a new element in the end of list also i want get values.

for(Node root:node.getChild()) 

//get values root.get...

nodC=new Node();

node.getChild().add(nodeC);

Thank you.

2
  • 3
    Please search before posting. More on searching here. Commented Apr 14, 2017 at 14:28
  • Thanks for your answer @T.J. Crowder. I solve the problem by other solution. Commented Apr 14, 2017 at 16:06

0