Allows to replace the content held by the axlItem reference with a new axlItem, updating all references, and optionally, deallocating the memory used by the previous node.
- Parameters:
-
| item | The item to be replaced. |
| new_item | The new item to be placed where the previous one is located. |
| dealloc | Signal to function to dealloc the memory hold the the item replaced. |