(Available since version 1.0)
Heap::swap — Swap two nodes in the binary tree
$a
,
int
$b
)
Swaps around the nodes in the binary tree referred to by the
indexes, a
and
b
.
a
The first index to be swapped.
b
The second index to be swapped.
No value is returned.