added iterator().hasNext();

deleted size()>0