I tried doing this but seems it is not working. please help! if(emails.addAll(emails2)){ emails3=emails; } else{ System.out.println("! all emails not added"); }
try{ for(Iterator iter=emails3.iterator(); iter.hasNext() { to =(String)(iter.next()); System.out.println("inside iterator for emails3 the to got is:"+to); } ...
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please continue any discussion of this topic here.