TreePath.getDepth

Returns the current depth of path.

class TreePath
int
getDepth
()

Return Value

Type: int

The depth of path