public function removeNode(Node $node = null) : bool
    {
        if (!$node) {
            return true;
        }
        // flag for GC
        unset($this->list[$node->key], $this->keyList[$node->key], $this->idList[$node->id]);

        return true;
    }
public function removeNode(Node $node = null) : bool
    {
        if (!$node) {
            return true;
        }
        // flag for GC
        unset($this->list[$node->key], $this->keyList[$node->key], $this->idList[$node->id]);

        return true;
    }
public function removeNode ( Node $ node = null ) : bool { if ( ! $ node ) { return true ; } // flag for GC unset ( $ this -> list [ $ node -> key ] , $ this -> keyList [ $ node -> key ] , $ this -> idList [ $ node -> id ] ) ; return true ; }
removes a specific node

@param Node $node

@return $this
removes a specific node