As before, it now becomes quite easy to iterate over this object collection and extract the details of specific posts from it.
跟前面一样,现在迭代通过此对象集合并从中摘取出特定帖子的详细信息变得相当容易。
You use a foreach() loop to iterate over the resulting object collection, as in Listing 3, to produce output equivalent to that of Listing 4.
您使用foreach()循环来迭代通过得到的对象集合,如清单3中所示,以产生等价于 清单 4中的输出。
UDDI handles internationalization by allowing the user to specify a collection of these objects where each object has a value and a language identifier.
UDDI通过允许用户指定这些对象的集合来处理国际化,每个对象中有一个值和语言标识符。
This is the newer form of expression languages and has excellent collection, object graph traversal, and indexing support.
这是一种新型表达式语言,拥有优秀的集合、对象图遍历和索引支持功能。
Garbage collection can enhance application performance by improving object locality and the speed at which new objects can be allocated.
垃圾收集可以改进对象局部性和加速新对象分配,从而增强应用程序性能。
When an object has to manipulate a collection of objects, it effectively USES procedural code to complete the operation.
当一个对象必须操作一个对象集合时,它有效地使用过程化代码来完成该操作。
However, an important detail to note is that just because an object is available for collection does not mean it will be reclaimed by a given run of the garbage collector.
然而您还需要注意一个重要的细节:仅凭对象可以被收集并不意味着垃圾收集器的一次指定运行就能够回收它。
In the case of a query, a single object or a collection of objects is returned.
在执行查询的情况下,返回单个对象或一个对象集。
The object is simply a hashtable or similar collection that stores object references as simple key-value pairs.
该对象只是将对象引用存储为简单键-值对的散列表或类似的集合。
An object in a ZODB database is allowed to have any collection of instance attributes.
ZODB数据库中的对象允许具有任何实例属性的集合。
When the global reference is created, the JVM adds it to a list that excludes that object from garbage collection.
创建全局引用时,JVM 会将它添加到一个禁止垃圾收集的对象列表中。
Some object on a server provides some collection of methods, each of which has a set of input parameters and an output value.
服务器上的某个对象提供某些方法,每个方法都有一组输入参数和一个输出值。
The very first object on display—the oldest in the collection—proves that man bags are nothing new.
展览中第一个物品,也是收藏品中最古老的一个,证明男士包根本就不是新鲜事。
A Data Transfer object is a way to package a collection of values in a single object so they can be passed around economically.
数据传输对象是将一组值包装在一个对象中的方法,目的在于经济地传送这些值。
The ability of a finalizer to revive an object destined for garbage collection is clearly an unintended consequence of the way that the finalization mechanism works.
终结器恢复即将被垃圾收集的能力无疑是终结机制工作方式的一种意外后果。
Collection-based object storage, allowing for referential querying where normalized data is required.
基于集合的对象存储,在需要规范化数据时允许参考查询。
When obj goes out of scope or is explicitly assigned to null, the object is available for collection, assuming there are no other references to it.
当obj超出范围或被显式地指定为null时,垃圾收集器就认为没有对这个对象的其它引用,也就可以收集它了。
The method returns a BusinessList object, a collection that can be used to find specific information about all the businesses that match the search parameter.
该方法返回一个BusinessList对象,一个可用于查找特定信息的集合,该信息是关于匹配搜索参数的所有企业。
These methods return true if the current permission object in the collection implies the specified permission, false if it does not.
如果集合中的当前许可权对象暗示指定的许可权,则这些方法返回true,否则返回false。
For example, we might choose to extend our Person example to include a new data object type that contains a collection of Person data objects.
例如,我们可以选择扩展Person示例,使之包括一个新的数据对象类型,该类型包含一个Person数据对象的集合。
This object simple contains a collection of ICodeAction objects just a like the CodeIssue object discussed above.
这个对象只是包含了ICodeAction对象的集合,就像上面所讨论的CodeIssue对象一样。
These objects are members of the Items collection of the Context object.
这些对象是Context对象的Items集合中的成员。
With this the database is only queried once and we will then iterate over the result set that is stored within the collection object. Here is the changed sample code.
这样,数据库就只会查询一次,并且我们接下来也可以遍历存储在集合对象里面的结果集。
If any of the ManagedCommitters reports a failure, the SOATransaction will issue a rollback to each object in the collection to ensure the integrity of the overall transaction.
如果任何Managed Committers报错,SOATransaction将向集合中的每个对象发出回滚命令,确保整个事务的完整性。
The return is a Hits object, which is a collection of Document objects for documents that matched the search parameters.
返回值是一个Hits对象,就是一个被搜索文档中匹配搜索参数的Document对象的集合。
Name - the name of the object in the collection (such as an unhealthy server or nickname).
名称——集合中的对象名称(如不健康的服务器和别名)。
To fetch elements from the collection, you had to know the type of object in the collection so you could cast it back to the appropriate local variable.
要从集合中提取元素,您必须知道集合中对象的类型,以将其强制转换为合适的局部变量。
SimpleXML's children() method is used in conjunction with the g: namespace to return this node collection as a SimpleXMLElement object named $attrs.
SimpleXML的children()方法与g:名称空间一起用于,将该节点集合作为一个名为 $attrs 的SimpleXMLElement对象返回。
Object caching and pooling: the application server automatically pools stateless session beans at the server level, reducing the amount of time spent in object creation and garbage collection.
对象高速缓存和合用:应用程序服务器自动在服务器级合用无状态会话bean,这减少了花在对象创建和垃圾收集上的时间。
The Where method is being invoked on a collection object, but it is not a member of the collection framework.
Where方法是在集合对象上调用的,但它不是该集合框架的成员。
应用推荐