TreePath.prependIndex

void prependIndex(int index)

Prepends a new index to a path.

As a result, the depth of the path is increased.

Parameters

indexthe index