Tree.equals