Or you can modify an existing row that had been read previously from the database, as in Listing 6.
或者,您可以修改一个以前曾经从数据库中读取的一个现有的行,如清单 6 所示。
The call to the existing business program, which was generated as CURRBUS (see Listing 2).
现有业务程序的调用,如CURRBUS被生成(参阅清单2)。
Listing 10 contains the code for the existing RPG program that has been registered as an external stored procedure.
清单10包含已经注册为外部存储过程的现有RPG程序的代码。
The page also includes a listing of each of the existing entries, along with a radio button that lets the user choose, as you can see in Figure 4.
该页面还包括了一个现有条目的列表,和一个单选按钮可供用户选择,如图4所示。
Creating an empty table with the same structure as an existing table can be done by specifying the LIKE option of the CREATE table command (Listing 4).
通过在CREATETABLE命令中指定LIKE选项,创建一个与现有表结构相同的空表(清单4)。
This Ruby script is a bit longer, but it builds on the existing stock scraping script from Listing 3.
这个Ruby脚本有点长,不过它是在清单3中现有的股票价格搜集脚本基础之上构建的。
The IndexReader class in Lucene is responsible for removing documents from the existing index, as demonstrated in Listing 2.
类IndexReader负责从一个已经存在的索引中删除文档,如清单2所示。
You can find some existing functions to compare Eclipse plug-in versions, or you can write a simple function to compare plug-in versions based on the sample code in Listing 4.
我们可以利用现有的一些函数来对Eclipse插件的版本进行比较,或者可以基于清单4所示的样例代码编写一个简单的函数来对插件版本进行比较。
Then, below the existing call to MyBase.New , add the code in Listing 5 which will allow the web service to be initialized on the host machine entered by the user.
然后,在现有的My Base .New调用下,添加如清单5中的代码,该代码允许在用户输入的主机上初始化这个Web服务。
The existing XML schema is in Listing 1.
现有XMLschema如 清单 1所示。
To copy the contents of one directory into an existing directory, select the files in the source directory, as shown in Listing 3.
要将一个目录中的内容复制到一个已有的目录中,可以选择源目录中的文件,如 清单 3 所示。
The existing descriptor plans will need modification, and the subsequent listings will highlight those changes starting with listing 11.
现有的描述符计划需要修改,后续的清单从清单11开始将突出显示这些更改。
For example, Listing 5 shows how to copy the files from the current directory to an existing directory.
例如,清单5显示了如何将文件从当前目录复制到一个已有的目录。
Listing 3 illustrates a situation in which an existing session has not been invalidated and is therefore assumed to be valid for the current request.
清单3展示了这样一种情况:一个现有会话没有被设置为失效,因此该会话被认为对当前请求有效。
Two instances were from the existing environment and another two instances were created in Listing 14.
两个实例来自现有的环境,另外两个实例是在清单14中创建的。
Enabling triggering on the queue manager requires definition of two objects and altering the existing command queue, as shown in Listing 2.
在队列管理器上启动触发机制需要定义两个对象并改变现有的命令队列,如清单2所示。
Start with an additional table to add to the existing database schema, as shown in Listing 6.
首先,在已有数据库模式中添加一个表,如 清单6 所示。
Modify the existing XML schema to define the element as mandatory instead of optional (see Listing 2).
修改现有的XML模式来强制而不是可选地定义此元素(参见清单2)。
The first option is to modify the existing XML schemas (see Listing 1).
第一种方式是修改现有的XML模式(参见清单1)。
Instead, create a wrapper function that either returns a handle to the existing object for a particular community or creates a new object and adds it to the map, using the code in listing 1.
相反,创建一个包装器函数,它返回现有对象的句柄,或者创建一个新对象并添加到映射中,如清单1中的代码所示。
Listing 2. Check head content of the existing file for these tags.
列表2.为这些标签核查现有文件中的头内容。
Actors are defined by the existing atom: author element, as shown in Listing 1.
动作者是由现有的atom:author元素定义的,如清单1所示。
And you can do the same in JRuby, as shown in Listing 6, using the existing JDK classes.
您可以像在JRuby中一样使用已有的JD k类实现相同的目的,如清单6所示。
Our handle method will delegate most of the processing to other methods, and change the existing handle method to match that of Listing 2.
我们的handle方法会将大部分处理委托给其他方法,请更改现有的handlemethod以与清单2中的方法匹配。
The first method in Listing 7 sets the initial state, updating an existing ActiveRecord column.
清单7中的第一个方法设置了初始状态,更新已有的ActiveRecord列。
The configuration (in Listing 5) ties them to a sharding-specific UUID generation scheme, which means I can reuse domain objects from an existing Hibernate implementation when I need to shard.
配置(如清单5中的)将它们绑定在一个特定切分uuid生成方案中,也就是说了我可以在需要切分时从已有Hibernate实现中重新使用域对象。
Listing information about existing containers is crucial to managing them. To show the state of a specific container.
列出关于已有容器的信息对于管理已有容器非常重要。
At this point, you add three new attributes to the existing ClickToCall widget declaration, as shown in Listing 4.
此时,您添加三个新属性到现有的ClickToCall小部件声明中,如清单4所示。
In other words, how will db4o react if I run an existing Person-based query against the database when no Mood instances are stored (shown in Listing 5)?
换句话说,当数据库中没有存储Mood实例时,如果在数据库上运行一个基于已有的Person的查询,db4o将如何作出响应(见清单5)?
The API described in Listing 7 is useful only when you have an existing SOAPElement and need to get the data out in an easy manner.
清单7中描述的API仅在您当前具有SOAPElement 且需要通过简单的方式来获得数据时有用。
应用推荐