Appearance
checks if the node is equal to another node.
nodeTreeNode<T>: The node to check.
TreeNode<T>
boolean
True if the nodes are equal, false otherwise.