The removeHead and removeTail methods remove the head/tail node and the connected edge. The documentation only states that the remove the node, and leave the user to guess at what happens to the edge.
Log in to post a comment.