@Override public final A next() { hasNext(); //call hasNext (to init next Element if not already done) if(!hasNext){ throw new NoSuchElementException(); } else { A current = next; next = null; hasNext = null; return current; } } /**
@Override public final A next() { hasNext(); //call hasNext (to init next Element if not already done) if(!hasNext){ throw new NoSuchElementException(); } else { A current = next; next = null; hasNext = null; return current; } } /**