参见每一章节代码实例中的README. txt可以获取更多细节。
See the README.txt files in each chapter's code examples for more details.
清单12中的代码实例化了purchaseorder类的两个对象。
The code in Listing 12 instantiates two objects of the PurchaseOrder class.
反射代码比相应的直接代码更复杂,正如性能比较的代码实例中看到的一样。
Reflection code is also more complex than the corresponding direct code, as can be seen in the code samples from the performance comparisons.
清单3显示了创建WSRelationalPushDownHelper的代码实例。
Listing 3 shows a code example that creates a WSRelationalPushDownHelper.
并用一个简短的代码实例回顾了如何消费Web服务,即JAX - rpc子集api。
I also reviewed how to consume Web services, the JAX-RPC subset API, with a short code example included.
以下描述的斜体词就是源代码实例化变量的名字(也见于代码清单5、6、7和8)。
The words in italics in the following descriptions are the names of instantiated variables in the source code (also see Listings 5, 6, 7, and 8, which follow).
清单9中的代码实例化一个Python桌面应用程序,然后通过调用run方法启动桌面。
The code in Listing 9 instantiates a Python desktop application and then starts the desktop by calling the run method.
下面是一组代码实例,显示了如何处理userdefinedpushdownmethodsimpl类中的各种形式的返回值。
Below is a set of code examples that show how to handle various forms of the return value in the UserDefinedPushDownMethodsImpl class.
该脚本的第一行代码实例化了一个新的Sql对象:设置JDBC连接字符串、用户名、密码和 JDBC驱动器类。
The first line of this script instantiates a new Sql object by setting the JDBC connection string, username, password, and JDBC driver class.
下面的代码实例显示的是如何编写一个可以从一个选定的RationalSoftware Architect模型中获取所有图然后将它们储存在项目里的宏。
The following code example shows how to write a macro that can extract all diagrams from a selected Rational Software Architect model, and then store them in a project.
在那些“模型是代码”所在的实例中,所有实践者不得不做的是确保他们拥有精确给定的模型。
In instances in which "the model is the code," all practitioners have to do is make sure they have accurately specified models.
清单2中展示的代码片段使用实例值加载表单字段。
The code snippet shown in listing 2 loads the form fields with instance values.
清单3显示的代码片段根据流程实例ID获取事件处理程序。
Listing 3 shows the code snippet getting the event handler by a process instance ID.
接下来的部分将描述他们是如何运行的,并通过实例代码演示了一些特殊的设计点。
Their operation is described in the next sections followed by example code to illustrate particular design points.
更有可能是其他用于创建类实例的代码导致了过度的内存占用。
Most likely, other code is responsible for creating instances of the classes that have caused the extensive memory usage.
当工具包向导生长一个工程时,向导会为三个关键方法提供部分代码或实例代码,如表1 所示。
When the toolkit wizard creates a project, it provides stubs or sample code for three key methods, as shown in Table 1.
类型有两种“用户”:继承类型,以及使用类型实例的代码。
There are two kinds of “users” of a type: derived types and code that works with instances of the type.
我建议您可以在移植向导中尝试实例代码以确保其是否正常工作,并且查看您的应用程序以减少潜在的问题。
I would ask you to try some sample code in the migration wizard to ensure that it is working properly, and take an additional look at your application to eliminate any potential issues.
清单4给出安装s3fs实例的代码。
由于不能pickle类实例代码,因此可以添加、更改和除去方法,而不会影响现有的经过pickle的实例。
Because a class instance's code is not pickled, you can add, change, and remove methods without impacting existing pickled instances.
同样,清单10中的代码允许验证以下实例。
Again, the code in Listing 10 allows the following instance to validate.
注意Objectify 的查询代码:service实例支持根据属性(在本例中是 owner)过滤,甚至对结果进行排序。
Notice Objectify's query code: the service instance supports filtering by property (in this case owner) and even ordering the results.
如前所述,代码将使用ScriptEngine实例执行脚本。
As I mentioned, your code USES a ScriptEngine instance to execute your scripts.
方法中试图打印appointment的代码创建 appointment实例并开始方法链接。
The code to try printing the appointment appears in the method that creates the appointment instance and starts the chain.
为了设定代码执行的上下文,self变量要设置为执行代码时所在的对象实例,以使得代码可以访问对象实例的变量。
In order to set the context, the variable self is set to the instance while the code is executing, giving the code access to the instance's variables.
这意味着任何用户都可以执行被编写用来创建auction类实例的代码,但只有拥有该实例的用户可以执行用来修改它的代码。
This means that any user can execute the code written to create an Auction class instance, but only the user who owns that instance may execute code designed to modify it.
要想自动装配应用代码中实例化的实体,最简单也是最笨的办法就是通过RichDomainObjectFactory的方式显式进行自动装配。
The easiest but rather clumsy way to autowire entities that are instantiated in application code would be to autowire them explicitly by means of the RichDomainObjectFactory.
要想自动装配应用代码中实例化的实体,最简单也是最笨的办法就是通过RichDomainObjectFactory的方式显式进行自动装配。
The easiest but rather clumsy way to autowire entities that are instantiated in application code would be to autowire them explicitly by means of the RichDomainObjectFactory.
应用推荐