I have two arraylists named fw_week and sw_week... Now have to calculate fw_diff which is difference between fw_week and sw_week and sw_diff which is difference between sw_week and fw_week...
I have used like following script,
fw_diff=fw_week;
sw_diff=sw_week;
fw_diff.removeAll(sw_week);
sw_diff.removeAll(fw_week);
In this, am getting the fw_diff correctly but the fw_week value is also changed which now equal to fw_diff, so the second value sw_diff is giving the wrong value, but i don't want to change the fw_week and sw_week values... So please can anyone help me to solve this issue....