Search:

Type: Posts; User: ljz1031

Search: Search took 0.20 seconds.

  1. Replies
    5
    Views
    1,847

    Re: Data is covered by latter data

    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...
  2. Replies
    5
    Views
    1,847

    Re: Data is covered by latter data

    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...
  3. Replies
    5
    Views
    1,847

    Data is covered by latter data

    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...
Results 1 to 3 of 3