Java Arraylist size after nested for loop
<p>I have 2 arraylist, the first one is contain 300 area population and the other one contain the adoption rate of that 300 area.
I would like to calculate each area's new population. However, after doing a nested for loop calculation. The size of the arraylist had change it to 90000. Why it happen? What I did wrong?</p>

<pre><code>private void calArray(){
    int k;
    double n,v;
    int result;
    int popSize = populArrayList.size();
    int adoptSize = adoptArrayList.size();
    for (int i = 0; i &lt; popSize; i++){

        k = populArrayList.get(i);

        for(int j = 0; j &lt; adoptSize; j++){


            n = adoptArrayList.get(j);

            v = k + (k * n);

            pv1.add(Math.floor(v));
            System.out.println(pv1.size());
        }
    }

}
</code></pre>