for example
for p=0 add [[3.0],[3.2,3.3]] into all
for p=1 add [[4.2,5.3]] into all
then data in all turns out to be[[[4.2,5.3]],[[4.2,5.3]]] which should be [[[3.0],[3.2,3.3]],[[4.2,5.3]]]
seems...
Type: Posts; User: ljz1031
for example
for p=0 add [[3.0],[3.2,3.3]] into all
for p=1 add [[4.2,5.3]] into all
then data in all turns out to be[[[4.2,5.3]],[[4.2,5.3]]] which should be [[[3.0],[3.2,3.3]],[[4.2,5.3]]]
seems...
My codes is boring in that I have no idea about data structure and object-oriented idea and made it a mess
public class Network {
ArrayList<ArrayList<ArrayList<Double>>> all = new...
Hi everyone
I want to add some data to an ArrayList array, but the latter data just covers the former one, while the size of the array is growing (I learned Java for 4 months by myself and did not...