* @return {Array<*>} An array containing all the values of tree's nodes.
()
| 185 | * @return {Array<*>} An array containing all the values of tree's nodes. |
| 186 | */ |
| 187 | exportValues() { |
| 188 | const result = []; |
| 189 | this.traverse_(function(node) { result.push(node.value) }); |
| 190 | return result; |
| 191 | } |
| 192 | |
| 193 | /** |
| 194 | * Perform the splay operation for the given key. Moves the node with |
no test coverage detected