@Override public void advance() { if (this.iterator.hasNext()) { Attribute attribute = this.iterator.next(); super.current = new AttributeNode(attribute, super.position()); } else { super.current = null; } } }
public final Item next() { advance(); return current; }
public final Item next() { advance(); return current; }
@Override public void advance() { if (this.iterator.hasNext()) { Attribute attribute = this.iterator.next(); super.current = new AttributeNode(attribute, super.position()); } else { super.current = null; } } }