PvTreeNode findChild(Object userObject){
  PvTreeNode currNode;
  @SuppressWarnings("unchecked") Iterator<PvTreeNode> it=children.iterator();
  while (it.hasNext()) {
    currNode=it.next();
    if (userObject == currNode.userObject)     return currNode;
  }
  return null;
}

PvTreeNode findChild ( Object userObject ) { PvTreeNode currNode ; @ SuppressWarnings ( "unchecked" ) Iterator < PvTreeNode > it = children . iterator ( ) ; while ( it . hasNext ( ) ) { currNode = it . next ( ) ; if ( userObject == currNode . userObject ) return currNode ; } return null ; }
find child node containing matching user object
