public static CCriteriumTreeNode findNode(final CCriteriumTreeNode node,final ICriterium criterium){
  if (node.getCriterium() == criterium) {
    return node;
  }
  for (  final CCriteriumTreeNode child : node.getChildren()) {
    final CCriteriumTreeNode childNode=findNode(child,criterium);
    if (childNode != null) {
      return childNode;
    }
  }
  return null;
}

public static CCriteriumTreeNode findNode ( final CCriteriumTreeNode node , final ICriterium criterium ) { if ( node . getCriterium ( ) == criterium ) { return node ; } for ( final CCriteriumTreeNode child : node . getChildren ( ) ) { final CCriteriumTreeNode childNode = findNode ( child , criterium ) ; if ( childNode != null ) { return childNode ; } } return null ; }
searches for a criterium tree node that represents a given criterium .
