Exchange the nodes of the specified a and b trees.
Efficiently exchange the nodes in the specified a tree with the nodes in the specified b tree. This method provides the no-throw exception-safety guarantee. The behavior is undefined unless a and b are well-formed (see isWellFormed).
| Name | Description |
|---|---|
| a | first well-formed tree to exchange |
| b | second well-formed tree to exchange |