A few things are happening in the above code.
上面代码中发生了以下几件事。
Thus in the above code, $newownernode becomes a child of $newfilesnode.
因此在上面的代码中,$newownernode成为了 $newfilesnode的子节点。
This approach would eliminate the need to cast in the above code, but it would not fix the bug.
这种方法可除去上面代码中类型强制转换的需要,但不修正错误。
Even in the absence of system failures, there is another risk worth discussing in the above code — concurrency.
甚至在系统没有发生故障时,上面讨论的代码还有另一种风险——并发性。
So where we had done something like floor -= 4 in the above code, we could equally well have used subtract(floor,4,floor).
所以,我们在前面的代码中使用的floor-=4 ,可以替换为 subtract(floor,4,floor) 。
The client deployment descriptor, in a file called application-client.xml, contains references to the JNDI names of the JMS connection factory and queue that are used in the above code.
客户端部署描述符,在一个称为application-client.xml的文件中,包含对用于上述代码中JMS连接工厂和队列中JNDI名称的引用。
In the above code snippet, we check for the expected user role.
在上面的代码片段中,我们检查是否有预期的用户角色。
In the above code we are using a SQL statement that bypasses Entity Framework to get back the desired Destination objects.
在上面的代码中,我们使用一个SQL语句,绕过实体框架取回所需的目标对象。
In the above code, you declare that your document will have a root element called RSS and that this element will have a child element called channel.
在以上代码中,您声明文档将有一个rss根元素,并且它有一个channel子元素。
In the above code, you declare that your document will have a root element called RSS and that this element will have a child element called channel.
在以上代码中,您声明文档将有一个rss根元素,并且它有一个channel子元素。
应用推荐