[red-black tree] delete unnecessary methods