动态代理类给了我们一种以统一方式方便地处理任何方法上的验证途径,同时把所有的验证逻辑完全与核心业务逻辑分离开。
Dynamic proxy classes give us a way to easily handle validation on any method in a uniform way, while completely separating all of the validation logic from the core business logic.
序列图用于指定子系统边界上的类之间的交互。
Sequence diagrams are used to specify the interactions between classes on the borders of these subsystems.
首先,PHP解释器在类上查找方法。
First, the PHP interpreter looks for the method on the class.
静态连接点允许方面定义类上的新成员。
Static join points allow aspects to define new members on a class.
OOAD为我们提供了应用程序层上的类和对象,而BPM具有事件驱动的流程模型。
OOAD gives us classes and objects on the application level, while BPM has event-driven process models.
之后,消息提升为接受消息对象的类上的操作。
Then, the messages are promoted to operations on the class of the object receiving the message.
每一个类映射到一个基本的RDBMS概念上,同时也映射到一个jdbc类上。
Each class maps onto a basic RDBMS concept as well as a JDBC class.
每次把测试限制在一个类上,而且只运行能够暴露这个类的覆盖不足的测试。
Limit the tests to one class at a time, and run only the tests that are likely to expose gaps in the coverage of that one class.
就像你处理子系统时,你应当将服务看作这个类上的操作一样。
Just as you would for subsystems, you should represent the services as operations on this class.
然后可以将该对象定义为实体类上的一个字段。
You can then define that object as a field on an entity class.
但是,这次失败并不是因为域类上缺少元编程,而是因为缺少依赖性注入。
This time, however, the failure isn't due to the lack of metaprogramming on a domain class. It's due to the lack of dependency injection.
请注意,同步请求是在调用类的线程上处理的。
Note that a synchronous request is processed on the calling class's thread.
在有网关的应用服务器上安装处理程序类及其依赖性。
Install the handler class and dependencies in the application server that is hosting the gateway.
我所说的不是早期设计文档,甚至也不是更为详细的设计文档;我说的是记录类上的各个方法和属性。
I am not talking about the early design documents, or even the more detailed design documents; I am talking about documenting individual methods and properties on classes.
与@Produces注解一样,如果在类上指定了@Consumes注解,该注解就会应用到类中的所有方法;
As is the case for the @Produces annotation, if you specify @Consumes on a class, it applies to all the methods in the class.
这些类将成为在类声明上使用static关键字的备选。
These classes will be candidates for using the static keyword on the class declaration.
这一想法使得这个类尽可能易用,同时在内存和访问时间上也保证了高效。
The idea is to make this class as easy as possible to use, while making it efficient in terms of memory and access time.
大多数应用程序都有定制逻辑,它授权用户不仅仅在类上执行操作,而且还在该类的实例上执行操作。
Most applications have custom logic that authorizes users to perform an operation not only on a class, but also on an instance of that class.
他和他的团队在蛋白组学研究期刊上发表文章称,罪魁祸首是糖蛋白——顾名思义,就是由糖类和蛋白质组成的一类蛋白质。
As he and his colleagues report in the Journal of Proteome Research, the culprits are glycoproteins-compounds composed, as their name suggests, of sugar and protein.
指定类的属性:将鼠标悬停在一个类上以打开另一个调色板。
Specify the attributes for the classes: Hover the mouse over a class to open up another palette.
换句话说,只有当想在派生类上运行代码,又不想让用户注意到时,才应该使用自定义元类。
In other words, you should use a custom metaclass only when your real intention is to have code running on derived classes without users of those classes noticing it.
RepoItem 上的默认条目类是null,所以示例连接器中所有Folder对象上的条目类也是 null。
The default item class on a RepoItem is null, so the item class on all Folder objects in the example connector will also be null.
Gizmodo是世界上最有趣的技术类网站,它着重于介绍各种小工具以及那些小工具如何使得我们的生活变得更美好、更糟糕或者更荒唐。
Gizmodo is the world's most fun technology website, focused on gadgets and how they make our lives better, worse, and more absurd.
还有一类自助有机农场,人们可以在那儿租上一小片地,亲自耕种。
There is even a do-it-yourself organic farm where individuals can rent a small plot of land and grow their own.
作为将近五分之二人类的家乡,两个邻国印度和中国是世界上增长最快的两大经济体。
HOME to nearly two-fifths of humanity, two neighbouring countries, India and China, are two of the world's fastest-growing economies.
尽管想利用泰坦上的储备也许是不现实的,相关研究可以为了解地球的原始状态提供一些启发,因为它和泰坦的状况十分类似。
While it may be implausible to tap Titan's reserves, the research has implications for understanding Earth in its primordial stages since it likely resembled Titan.
这些结构支持面向对象式的封装,即本质上只有类或者Trait的公共抽象会被暴露出来,内部实现则被隐藏于视界之下。
These constructs support the object-oriented form of encapsulation, where only the essential public abstraction of a class or trait is exposed and implementation information is hidden from view.
目前博客界的博客大体上可以分为两类,评论性博客和讨论性博客。
Many blogs out there can be split into two categories: Opinion and Discussion.
作为地球上最大型的齿鲸类,抹香鲸已经被国际自然保护联盟列入了高灭绝风险的野外物种之列。
The largest toothed whales on Earth, sperm whales are listed as vulnerable-or facing a high risk of extinction in the wild-by the International Union for Conservation of Nature.
作为地球上最大型的齿鲸类,抹香鲸已经被国际自然保护联盟列入了高灭绝风险的野外物种之列。
The largest toothed whales on Earth, sperm whales are listed as vulnerable-or facing a high risk of extinction in the wild-by the International Union for Conservation of Nature.
应用推荐