All fetching pattern classes implement the same interface.
所有的抓取模式类都实现了相同的接口。
The four tones are considered as four fuzzy sets which describe the four pattern classes.
孤独字的四声调可被描述成四种模式类的模糊集合。
For this reason, the self-pattern class is proposed. A few of self-pattern classes can accelerate the accessing of the normal IP packets.
因此本文提出产生少量的自体模式类对正常访问数据进行处理,加快其访问速度。
To do this, you must add any state and relationships that the pattern requires to your domain classes.
为此,您必须将模式需要的所有状态和关系添加到域类中。
You use the active record pattern to wrap relational database persistence methods in domain classes.
活动记录模式则可用来在域类内包装关系数据库持久性方法。
This is only used as a pattern input parameter for naming the interfaces and classes.
它仅仅作为模式输入参数而使用,以用于命名接口和类。
A pattern describes how to solve the problem using a set of classes — that is, it provides a general blueprint for a given part of your system.
模式描述了如何利用一组类来解决问题——换句话说,模式为您的系统的现有部分提供一个概括的蓝图。
A list of all classes in the project's build path that match that pattern are presented in a list, from which you can select the class and package name you want to use.
将在一个列表中显示与该模式匹配的项目构建路径中的所有类,您可以从此列表中选择您希望使用的类名称和包名称。
Applying a pattern to your model involves mapping the generic roles in the pattern solution to specific domain classes within your model.
要将模式应用到模型,涉及到将模式解决方案中的通用规则映射到模型中特定的域类。
Architecture rules: Architecture constraint rules allow the developers to define the pattern based rules to deny references between classes in different packages.
架构规则:架构约束规则允许开发者定义基于模式的规则,拒绝不同包中类之间的引用。
If you follow a thin facade pattern, your stateless session beans probably delegate to other classes.
如果用户采用瘦虚包模式,那么用户的无状态会话可能会代表其他的类。
Experienced pattern designers may eventually be able to use advanced features of the pattern engine to expand classes into multiple locations.
有经验的模式设计者最终可以使用模式引擎的高级特性将类扩展至多个位置。
More importantly, you've seen how case classes work well with pattern matching to make it almost trivial to create this AST and evaluate it.
更重要的是,您已经看到了case类是如何与模式匹配合作,使得创建AST并对其求值变得轻而易举。
This implementation of the DAO pattern consists of the classes and interfaces shown below
DAO模式的这个实现包含下面列出的类和接口
Under the business interface pattern, however, the implementation classes will also need to implement your new business interface (in this case, the ILibrary interface).
然而,在业务接口模式下,实现类还将需要实现新的业务接口(在这种情况下,是ILibrary接口)。
Adding new data types (classes) with visitors is difficult, however, as the visitor pattern requires a visit method for all concrete types.
然而,通过访问者添加新数据类型(类)较为困难,因为访问者模式要求所有具体类型都具有一个visit方法。
Similarly, classes using the Template Method pattern contain a series of steps, and some are left blank.
类似地,采用TemplateMethod模式的类也包含一系列的步骤,而其余的则留空。
Part 1 talked about the overall concepts of the Zend Framework, including a list of relevant classes and a general discussion of the MVC pattern.
在第1部分中,我们讨论了Zend框架的全部概念,包括一系列相关的类和对MVC模式的总体探讨。
The only difference between Figures 2 and 3 is that in the former the classes are treated as standard design pattern components, whereas in the latter they are treated as web service components.
图2和3之间的惟一的不同之处是,前者把每一个类当作标准设计模式的组件,后者把它们当作Web 服务组件。
One way to clean up the design of multiple classes in the Struts code base is to realize that this idiomatic pattern exists and consolidate that behavior.
要清理Struts代码库中多个类的设计,一种方法就是意识到这种惯用模式的存在并巩固这一行为。
This is because case classes are designed to be used in conjunction with Scala's pattern matching (which we briefly examined a few articles ago in "Collection types").
这是因为case类是要与Scala的模式匹配(在 “集合类型” 中曾简短分析过)结合使用的。
Armed with that admittedly brief rundown of case classes and pattern matching, let's return to the task of creating the calculator AST.
简要了解了case类和模式匹配之后,接下来让我们回到创建计算器ast的任务上。
With case classes, pattern matching begins to take on whole new levels of power, as shown in Listing 7.
有了case类,模式匹配具备了更强大的功能,如清单7所示。
The design pattern for representing external entities as classes is called the Mirror Image pattern.
把外部实体表示为类,这样一种设计模式称为镜像映象(MirrorImage)模式。
The pattern USES two types of classes: product classes and creator classes.
模式使用了两个类型的类:product类和creator类。
Case classes are frequently sent to Actors as messages, and deep pattern matching on an object's contents is a convenient way to "parse" those messages.
Case类经常会被作为消息发送到Actor,对一个对象的内容进行深度模式匹配是“分析”这些消息的方便方式。
The composite pattern and final classes.
复合模式和final类。
The Template Method pattern defines the skeleton of an algorithm in a base class, using abstract methods and overriding to defer individual details to child classes.
TemplateMethod模式定义了基类算法的骨架,使用了抽象方法和覆盖将具体细节放到子类中。
Figure 6: State pattern and participating classes within the RSA pattern explorer.
图6:state模式和RSA模式浏览器中参与的类。
Figure 6: State pattern and participating classes within the RSA pattern explorer.
图6:state模式和RSA模式浏览器中参与的类。
应用推荐