从一集合中选择给定数量的不同元素而不管被选元素在集合中的排列次序。
A given number of different elements selected from a set without regard to the order in which the selected elements are arranged.
在集合中,元素出现的顺序不重要。
In a set, the order in which the elements appear is not important.
在清单6中,我创建了一个简单的模板,它表示一个定义person元素集合的XML文档。
In Listing 6, I've created a simple template that represents an XML document defining a collection of person elements.
在尝试向泛型集合(本例中为List)添加错误类型的元素时,清单2中的程序会生成编译时错误消息。
Listing 2 contains a program that generates the compilation-time error message that happens when you try to add the wrong type of element to a generic collection - a List in this case.
在清单4中,第一行代码提取数组中的每个元素,并在此基础上调用闭包,然后用结果构建一个集合。
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.
注意行和列的次序与元素在每个集合中的顺序是相同的,索引变量名在第12、13和14行是一致的。
Note that the row and column order is the same as the element order in each set, and the index variable names are consistent between lines 12, 13, and 14.
当它们被分组到一起时,这些元素就会被看做一个不可分开的集合,即时在安排操作的过程中。
After they are grouped together, the elements are treated as one inseparable block, even during arrange operations.
例如,在dissertation(论文)中的元素可以包含一个PCDATA、和元素的集合。
For example, a element in a dissertation can contain a collection of PCDATA, and elements.
您甚至可以在一个集合中混合使用scheme,方法是将scheme元素添加到一个category 元素中。
You can even mix schemes together in a single collection by adding a scheme element to the individual category element.
该操作的任务是在一个未排序的元素集合中查找特定的元素。
Its job is to find a particular element in an unsorted collection of elements.
然后,该类的用户可以在Singleton实例保存的集合中添加和删除Attendee元素,或替换集合中的元素。
Users of the class can then add and remove Attendee elements from the collection the Singleton instance holds, or replace the elements in the collection.
进行数字迭代的情形一样,在迭代集合中的元素时同样要维护一个迭代索引。
An iteration index is also maintained when iterating through the elements of a collection.
这个元素在匹配元素集合中的位置变为0,而长度变成1。
The position of the element in the set of matched elements starts at 0 and goes to length - 1.
将匹配的元素集合缩减为一个元素。这个元素在匹配元素集合中的位置变为0,而集合长度变成1。
Reduce the set of matched elements to a single element. The position of the element in the set of matched elements starts at 0 and goes to length - 1.
获取在派生的类中重写时用于标识配置文件中此元素集合的名称。
Gets the name used to identify this collection of elements in the configuration file when overridden in a derived class.
第一个集合中的每个元素都会出现在分组联接的结果集内,而无论是否在第二个集合中找到相关元素。
Each element of the first collection appears in the result set of a group join regardless of whether correlated elements are found in the second collection.
左外部联接是这样一个联接:在其中返回第一个集合的每个元素,而无论该元素在第二个集合中是否具有相关元素。
A left outer join is a join in which each element of the first collection is returned, regardless of whether it has any correlated elements in the second collection.
在匹配的元素集合中,获取的第一个元素的当前坐标,或设置每一个元素的坐标,坐标相对于文档。
Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.
在匹配的元素集合中,获取的第一个元素的当前坐标,或设置每一个元素的坐标,坐标相对于文档。
Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.
应用推荐