setMark(); reset(); // Count the nodes found by this iterator do
setMark(); reset(); // Count the nodes found by this iterator do
/** * Clone a <code>SortingIterator</code> by cloning its source * iterator and then sharing the factory and the array of * <code>NodeSortRecords</code>. */ public DTMAxisIterator cloneIterator() { try { final SortingIterator clone = (SortingIterator) super.clone(); clone._source = _source.cloneIterator(); clone._factory = _factory; // shared between clones clone._data = _data; // shared between clones clone._free = _free; clone._current = _current; clone.setRestartable(false); return clone.reset(); } catch (CloneNotSupportedException e) { BasisLibrary.runTimeError(BasisLibrary.ITERATOR_CLONE_ERR, e.toString()); return null; } }
/** * Clone a <code>SortingIterator</code> by cloning its source * iterator and then sharing the factory and the array of * <code>NodeSortRecords</code>. */ public DTMAxisIterator cloneIterator() { try { final SortingIterator clone = (SortingIterator) super.clone(); clone._source = _source.cloneIterator(); clone._factory = _factory; // shared between clones clone._data = _data; // shared between clones clone._free = _free; clone._current = _current; clone.setRestartable(false); return clone.reset(); } catch (CloneNotSupportedException e) { BasisLibrary.runTimeError(BasisLibrary.ITERATOR_CLONE_ERR, e.toString()); return null; } }
setMark(); reset(); // Count the nodes found by this iterator do
setMark(); reset(); // Count the nodes found by this iterator do
setMark(); reset(); // Count the nodes found by this iterator do
setMark(); reset(); // Count the nodes found by this iterator do
setMark(); reset(); // Count the nodes found by this iterator do
setMark(); reset(); // Count the nodes found by this iterator do
setMark(); reset(); // Count the nodes found by this iterator do
setMark(); reset(); // Count the nodes found by this iterator do
setMark(); reset(); // Count the nodes found by this iterator do