The second code block (lines 6-7) just passes the root element of the document off to the recursive modification method I'll get to in a moment.
第二个代码块(第6 - 7行)只是将文档的根元素传递给我马上要谈到的递归修改方法。
Your outermost XML element (that is, the root) is words so you create a words method.
最外面的XML元素(也就是“根”)是words,这样就创建了一个words方法。
The getAutomobilePolicy() method on the above instance of AutomobilePolicyDocument then gives a handle to the root element, automobile-policy.
上述 AutomobilePolicyDocument 实例的 getAutomobilePolicy() 方法可以提供根元素 automobile-policy 的句柄。
Remember, I said when we do a bisection method, we're assuming the answer lies somewhere between Well, what is the square root of a quarter? It is a half.
记住,我提过当我们用二分法的时候,我们假设答案处于,上边界和下边界之间,0。25的平方根是多少?,是0。5。
应用推荐