public void reset(){
  localDeque.clear();
  localDeque.push(new FramePath());
}

public void reset ( ) { localDeque . clear ( ) ; localDeque . push ( new FramePath ( ) ) ; }
resetting the stack frame means clearing it and putting there the default frame
