public int getLevel(TreeNode node)
int getLevel(Object node)
  public int getLevel(TreeNode node)  {    int count = -1;    TreeNode current = node;    do      {        current = current.getParent();        count++;      }    while (current != null);    return count;  }