/** * Resets the iterator to the last start node. * * @return A DTMAxisIterator, which may or may not be the same as this * iterator. */ public DTMAxisIterator reset() { _sp = _oldsp; return resetPosition(); }
/** * Resets the iterator to the last start node. * * @return A DTMAxisIterator, which may or may not be the same as this * iterator. */ public DTMAxisIterator reset() { m_ancestorsPos = m_size - 1; _currentNode = (m_ancestorsPos >= 0) ? m_ancestors[m_ancestorsPos] : DTM.NULL; return resetPosition(); }
public DTMAxisIterator setStartNode(int node) { if (_isRestartable) { _source.setStartNode(_startNode = node); return resetPosition(); } return this; }
public DTMAxisIterator reset() { _source.reset(); return resetPosition(); }
public DTMAxisIterator setStartNode(int node) { if (_isRestartable) { _source.setStartNode(_startNode = node); return resetPosition(); } return this; }
public DTMAxisIterator setStartNode(int node) { if (_isRestartable) { _source.setStartNode(_startNode = node); return resetPosition(); } return this; }
public DTMAxisIterator setStartNode(int node) { if (_isRestartable) { _startNode = node; _source.setStartNode(node); resetPosition(); _isRestartable = false; } return this; }
public DTMAxisIterator reset() { _source.reset(); return resetPosition(); }
public DTMAxisIterator reset() { _source.reset(); return resetPosition(); }
public DTMAxisIterator reset() { _source.reset(); return resetPosition(); }
public DTMAxisIterator setStartNode(int node) { if (_isRestartable) { _startNode = node; _source.setStartNode(node); resetPosition(); _isRestartable = false; } return this; }
public DTMAxisIterator setStartNode(int node) { _startNode = DTMDefaultBase.ROOTNODE; if (_isRestartable) { _source.setStartNode(_startNode); resetPosition(); } return this; }
public DTMAxisIterator setStartNode(int node) { if (_isRestartable) { _source.setStartNode(_startNode = node); return resetPosition(); } return this; }
public DTMAxisIterator setStartNode(int node) { if (_isRestartable) { _source.setStartNode(_startNode = node); return resetPosition(); } return this; }
public DTMAxisIterator setStartNode(int node) { if (_isRestartable) { // Set start node for left-hand iterator... _source.setStartNode(_startNode = node); // ... and get start node for right-hand iterator from left-hand, // with special case for //* path - see ParentLocationPath _iterator.setStartNode(_includeSelf ? _startNode : _source.next()); return resetPosition(); } return this; }
public DTMAxisIterator reset() { _source.reset(); // Special case for //* path - see ParentLocationPath _iterator.setStartNode(_includeSelf ? _startNode : _source.next()); return resetPosition(); }
public DTMAxisIterator reset() { _source.reset(); // Special case for //* path - see ParentLocationPath _iterator.setStartNode(_includeSelf ? _startNode : _source.next()); return resetPosition(); }
public DTMAxisIterator setStartNode(int node) { if (_isRestartable) { // Set start node for left-hand iterator... _source.setStartNode(_startNode = node); // ... and get start node for right-hand iterator from left-hand, // with special case for //* path - see ParentLocationPath _iterator.setStartNode(_includeSelf ? _startNode : _source.next()); return resetPosition(); } return this; }
public DTMAxisIterator reset() { for (int i = 0; i < _free; i++) { _heap[i].reset(); _heap[i].step(); } // build heap for (int i = (_heapSize = _free)/2; i >= 0; i--) { heapify(i); } _returnedLast = END; return resetPosition(); }
public DTMAxisIterator setStartNode(int node) { if (_isRestartable) { _source.setStartNode(_startNode = node); _nodes.clear(); while ((node = _source.next()) != END) { _nodes.add(node); } _currentIndex = 0; resetPosition(); } return this; }