Listing 1. WSXL collection code sample.
清单1. WSXL集合代码样本。
Application Developer includes wizards which generate resource collection code for SQL databases and LDAP directories.
Application Developer包括了用于为SQL数据库和LDAP目录生成资源集合代码的向导。
An iterator is a kind of code helper that lets you quickly access data in any collection or container, one at a time.
迭代器是某种代码助手,可以让您迅速地访问任何集合或容器中的数据,每次一个数据。
If you cannot change the original API, you can write wrapper code to convert the collection type into an array.
如果您不能改变原始的API,那么您可以书写封装器代码,将聚集类型转化为数组。
We also do not take for granted the optimization of code by design and we take it with a grain of salt every time somebody tells us how good JVMs are now at optimization and garbage collection.
我们并不认为仅仅通过设计就能得到优化的代码,每当有人说起现在的JVM在优化和垃圾收集方面有多么棒时,我们都对其持保留态度。
When an object has to manipulate a collection of objects, it effectively USES procedural code to complete the operation.
当一个对象必须操作一个对象集合时,它有效地使用过程化代码来完成该操作。
In Listing 4, the first line of code takes each element of an array, calls the closure on it, and then builds a collection with the results.
在清单4中,第一行代码提取数组中的每个元素,并在此基础上调用闭包,然后用结果构建一个集合。
Any given body of code usually includes grouped statements that work toward the same goal, such as creating a collection and adding items to it.
所有给定代码主体通常包含已分组的语句,它们拥有共同的目标,比如创建一个集合,将数据项添加到该集合中。
The code section labeled "A" essentially creates a database connection and selects a collection within the database.
标记为“A”的代码段创建了数据库连接,并从数据库中选择一个集合。
Recycle your code! Create a collection of your favorite and often-used snippets and make sure that it’s easily searchable and well organized.
回收你的代码,创建一个你最喜欢和经常使用的代码片段集,并确保代码组织良好,可以被轻易搜索到。
But, on the contrary, how you get that collection can often be a sizable, and highly variable, piece of the puzzle in terms of code optimization.
但是恰恰相反,在代码优化方面,如何获取该集合经常可能是相当大的、很变化无常的难题。
A query is a collection of counters, created in your custom code, to manage the collection of performance data.
查询是计数器的集合,它是用自定义代码创建的,用于管理性能数据的集合。
This allows you to pass a parallel collection to existing (non-parallel) code bases and potentially use that code as is.
这将允许您传递一个并行集合给现有(非并行)代码库并按原样使用该代码。
Take Listing 9, which creates a collection of character documents, each containing the string representation of the character and its associated ASCII code.
以清单9为例,它创建一个字符文档集合,每个集合都包含字符的字符串表示形式及其关联的ASCII代码。
In this case, I introduced an error to the code generation handling a collection, adding an extra item to the stack in the body of the item unmarshalling loop.
在这个示例中,我在处理集合的代码生成中引入了一个错误,在项目反编排循环的循环体中,向堆栈添加了一个额外项目。
It turns out that how you go about getting that collection of documents is critical to the performance of the code you write.
事实证明您如何获取文档集合对于所编写的代码的性能至关重要。
Before you start the tutorial, download the sample source code and binaries for the collection.
开始本教程的学习前,请下载集合的示例代码和二进制文件。
If a key's hash code were to change while it was in a collection, some unpredictable and confusing consequences could follow.
如果当关键字在集合中时它的散列代码被更改,那么将产生一些不可预测和容易混淆的结果。
With the column names stored as attributes, extra code is required to locate a collection of all of the elements from a specific column.
将列名存储为属性的话,需要额外的代码来从特定的列找到所有元素的集合。
VCS systems generally refer to each collection of source code in which changes can be made and tracked as a repository.
VCS系统一般把每个可以进行更改和跟踪的源代码集合称为存储库。
Note: on this menu the "Collection Name" is used; however, the "Collection_ID" is actually required for the DataListener client code to operate correctly.
注意:在该菜单中使用了“CollectionName”;但是实际上,“Collection_ID”对于DataListener客户端代码正确操作是必需的。
You can fix a lot of error prone code with the right API, or even the right Collection.
可以使用适当的API,甚至适当的Collection来修正很多易错的代码。
I need to replace the old file-writing logic with code that builds a collection of ChecksumClass objects and then places those objects into a binding object.
我需要将原来的写入文件的逻辑替换为下面的代码:构建一个ChecksumClass对象集合,然后将这些对象放到binding对象中。
The basic code is provided by Arduino as part of the examples collection and requires some editing to adapt to your own requirements (see Resources).
基本代码由Arduino作为示例集合的一部分提供,并需要根据您自身的需求做一些修改(参见参考资料)。
You can also use a foreach loop which will be compiled into a similar code leveraging the IEnumerable interface of the Items Collection. Here is now how the new loop is executed internally.
你也能使用foreach循环语句,它会被编译为类似的代码,其充分利用了Items集合的IEnumerable接口。
The code in Listing 6 only scratches the surface of Ruby's collection handling!
清单6中的代码只触及到了Ruby集合处理的皮毛!
The method body now has the necessary code to find the collection of BookLocal objects for the passed Author's name.
目前方法体中有用于找出已确认的作者姓名的BookLocal对象集的必要代码。
It is worth noting that the collection resolver and the result resolver discussed are part of the XML Feature Pack sample code. Therefore the code presented is a sample.
有一点值得注意:本文讨论的集合解析器和结果解析器是XMLFeaturePack样例代码的一部分。
This collection of resources includes patterns and architecture topics in the form of written guidance and models with code generation in the form of tools integrated with Visual Studio 2008.
此资源集包括模式和体系结构主题(以书面指导的形式存在),以及代码生成模型(以与VisualStudio 2008集成的工具的形式存在)。
I then append a new collection onto factors - generated by the map function on the factors list - applying the code to generate the symmetrical (the matching factor above the square root) list.
然后我将一个新的集合附加至由factor列表中的map函数生成的factor上,应用此代码生成对称的(平方根上方匹配的因子)列表。
应用推荐