Resultset (getter/setter class) object not deleting old values at 2nd Time execution in swin
- by user2384525
I have summarizeData() method and called so many time for value retrieve. but first time is working file but 2nd time execution value is increasing in HashMap.
void summarizeData() {
HashMap outerMap = new HashMap();
ArrayList list = new ArrayList(dataClass.getData());
for (int indx = 0; indx < list.size(); indx++) {
…