addNewPointerAndVisualizeIt(changeObject) {
        var currentList = this.getCurrentStep().getPointersForStep();
        var newPointer = currentList.getPointer(changeObject.addPointers);
        newPointer = this.pointersForVisualization.addPointer(newPointer.getName(),
            newPointer.getPointeeReference(),
            newPointer.getPointeePosition());
        this.visualizer.umsg('add new pointer ' + newPointer.getName());
        newPointer.drawPointer(this.visualizer, this.JsavLinkedList.getJsavLinkedList(), this.pointersForVisualization);
    }
/**
     * Adds new pointer to the visualized linked list.
     * @param {Hash} changeObject Hash table that contains the changes to be applied on list nodes
     */
Adds new pointer to the visualized linked list.
@param {Hash} changeObject Hash table that contains the changes to be applied on list nodes
Adds new pointer to the visualized linked list . @param { Hash } changeObject Hash table that contains the changes to be applied on list nodes
addNewPointerAndVisualizeIt(changeObject) {
        var currentList = this.getCurrentStep().getPointersForStep();
        var newPointer = currentList.getPointer(changeObject.addPointers);
        newPointer = this.pointersForVisualization.addPointer(newPointer.getName(),
            newPointer.getPointeeReference(),
            newPointer.getPointeePosition());
        this.visualizer.umsg('add new pointer ' + newPointer.getName());
        newPointer.drawPointer(this.visualizer, this.JsavLinkedList.getJsavLinkedList(), this.pointersForVisualization);
    }
addNewPointerAndVisualizeIt ( changeObject ) { var currentList = this . getCurrentStep ( ) . getPointersForStep ( ) ; var newPointer = currentList . getPointer ( changeObject . addPointers ) ; newPointer = this . pointersForVisualization . addPointer ( newPointer . getName ( ) , newPointer . getPointeeReference ( ) , newPointer . getPointeePosition ( ) ) ; this . visualizer . umsg ( 'add new pointer ' + newPointer . getName ( ) ) ; newPointer . drawPointer ( this . visualizer , this . JsavLinkedList . getJsavLinkedList ( ) , this . pointersForVisualization ) ; }
Adds new pointer to the visualized linked list.
Adds new pointer to the visualized linked list .