public DTMAxisIterator setStartNode(int node) { try { _source.setStartNode(_startNode = node); _data = new NodeSortRecord[INIT_DATA_SIZE]; _free = 0; // gather all nodes from the source iterator while ((node = _source.next()) != END) { addRecord(_factory.makeNodeSortRecord(node,_free)); } // now sort the records quicksort(0, _free - 1); _current = 0; return this; } catch (Exception e) { return this; } }
public DTMAxisIterator setStartNode(int node) { try { _source.setStartNode(_startNode = node); _data = new NodeSortRecord[INIT_DATA_SIZE]; _free = 0; // gather all nodes from the source iterator while ((node = _source.next()) != END) { addRecord(_factory.makeNodeSortRecord(node,_free)); } // now sort the records quicksort(0, _free - 1); _current = 0; return this; } catch (Exception e) { return this; } }
public DTMAxisIterator setStartNode(int node) { try { _source.setStartNode(_startNode = node); _data = new NodeSortRecord[INIT_DATA_SIZE]; _free = 0; // gather all nodes from the source iterator while ((node = _source.next()) != END) { addRecord(_factory.makeNodeSortRecord(node,_free)); } // now sort the records quicksort(0, _free - 1); _current = 0; return this; } catch (Exception e) { return this; } }
public DTMAxisIterator setStartNode(int node) { try { _source.setStartNode(_startNode = node); _data = new NodeSortRecord[INIT_DATA_SIZE]; _free = 0; // gather all nodes from the source iterator while ((node = _source.next()) != END) { addRecord(_factory.makeNodeSortRecord(node,_free)); } // now sort the records quicksort(0, _free - 1); _current = 0; return this; } catch (Exception e) { return this; } }