Gets the parent node. @param nd current node @return parent node
(final int nd)
| 221 | * @return parent node |
| 222 | */ |
| 223 | private int parent(final int nd) { |
| 224 | return tree.get((nd << 1) + nd + 2); |
| 225 | } |
| 226 | |
| 227 | /** |
| 228 | * Sets the left child. |
no test coverage detected