hi, i have a problem with my code.
when, on strausParser class, i create the new object Beam i give him an array of Node object called "nodiestremi".
the problem is that when a Beam is created, the Beam created before take the Node of new Beam.
why it appends?
public class Main { public static void main(String[] args) throws NumberFormatException, IOException{ SetFile.setupWindows(); Structure structure = new Structure(); } }public class SetFile { } }
i get an output like this:
and not like this:Import node complete
0 0 0 1
0 1 1 2
0 1 1 0
0 2 2 4
Import beam complete
Import node complete
0 0 0 1
0 0 1 2
0 0 1 0
0 0 2 4
Import beam complete