Searched refs:newNode (Results 1 – 3 of 3) sorted by relevance
213 _Node* newNode = new _Node(val); // alloc & copy-construct in insert() local214 newNode->setNext(posn.getNode()); in insert()215 newNode->setPrev(posn.getNode()->getPrev()); in insert()216 posn.getNode()->getPrev()->setNext(newNode); in insert()217 posn.getNode()->setPrev(newNode); in insert()218 return iterator(newNode); in insert()
214 _Node* newNode = new _Node(val); // alloc & copy-construct in insert() local215 newNode->setNext(posn.getNode()); in insert()216 newNode->setPrev(posn.getNode()->getPrev()); in insert()217 posn.getNode()->getPrev()->setNext(newNode); in insert()218 posn.getNode()->setPrev(newNode); in insert()219 return iterator(newNode); in insert()