yes you get all values of x=[] for zone=2 from the starting of zone=1.

Because you only create the list like below..



List<Double> x = new ArrayList<Double>(); //Defining double arraylist...