Listing 2 doesn't show this technique, but the apply method allows you to perform an action for each selected element.
清单2没有展示这个技术,但是apply方法允许对每个选中元素执行一个操作。
The example in listing 1 uses this technique to invoke the onClickButton method.
清单1的例子使用这种技术调用onClickButton方法。
To demonstrate the basic technique, Listing 1 shows Python code that USES dynamic features to log all invocations of a remote method to standard error on the console.
为了示范基本的技术,清单1中的Python代码使用动态特性将所有的远程方法调用记录到控制台的标准错误中。
Once all the updates are performed you can invoke the commit method to commit the transaction, or the rollback method to roll back the transaction. Listing 5 illustrates this technique.
执行了所有更新之后,您可以调用commit方法来提交事务,或者调用rollback方法来回滚事务。
Once all the updates are performed you can invoke the commit method to commit the transaction, or the rollback method to roll back the transaction. Listing 5 illustrates this technique.
执行了所有更新之后,您可以调用commit方法来提交事务,或者调用rollback方法来回滚事务。
应用推荐