delete method
      
void
delete()
       
    
override
    Delete this node
Implementation
void delete() {
  if (isRoot) throw ActionNotAllowedException.deleteRoot(this);
  (parent as Node).remove(this);
}Delete this node
void delete() {
  if (isRoot) throw ActionNotAllowedException.deleteRoot(this);
  (parent as Node).remove(this);
}