if( !treesIdentical( a.getChild(i), b.getChild(i), searchAll ) )
if( !treesIdentical( a.getChildAsNode(i), b.getChildAsNode(i), searchAll ) )
  private boolean treesIdentical( ONode a, ONode b, boolean searchAll ) {    boolean result = true;    if( !a.contentEquals(b) ) {      if(searchAll) {        System.out.println("IDENTITY Failed");        System.out.println(a.toString());        System.out.println(b.toString());      }     result = false;    }    if( a.getChildCount() != b.getChildCount() ) {      if(searchAll){       System.out.println("IDENTITY failed: childcount failed below :");       System.out.println("Merged Tree------------------------------------------");      a.printTree(0);       System.out.println("Facit Tree-------------------------------------------");      b.printTree(0);       System.out.println("-----------------------------------------------------");      }       result = false;    } else if( result || searchAll )      for( int i=0;i<a.getChildCount();i++)        if( !treesIdentical( a.getChild(i), b.getChild(i), searchAll ) )          result = false;    return result;  }