Given that the only fundamental difference between them is the name of the class, it would help to have a simple way to create a template for a single rule that handles all cases.
假设它们之间唯一的根本差别是类名称,那么它将有助于利用一个简单的方法来为能够操作所有类的唯一的规则创建模板。
The rule class is quite simple, typically containing only a single method.
规则类是十分简单的,典型情况下只包含一个方法。
After the rule class is completed, it needs to be described through the provided extension points in the analysis framework so that the code review engine can discover it.
在规则类被完成之后,它需要通过在分析架构中的所提供的扩展点被描述出来,从而使得代码评审引擎能够将其发现。
For instance, you can create your own static analysis rule to run against a large application to find where a particular interface or class is used.
举例来说,您可以创建对大型的应用程序运行的您自己的静态分析规则,从而发现在哪里用到了特定的接口或类。
The final step for defining a new rule is to define the class that represents it.
定义一个新规则的最后一步,是定义一个代表该规则的类。
Once this rule command class is created, it is triggered to execute the correct rule in that specific rule engine.
一旦一个规则命令类被创建,它将在特定的规则引擎上被触发且执行正确的规则。
Listing 3 is a code snippet that shows how you can implement a rule class.
列表3是一个显示如何执行规则类的代码片段。
A rule of thumb advocated by many is that a class with more than 1,000 lines of code is too big.
许多人所提倡的一条经验法则是,类的代码行超过1,000行就可以说该类太长了。
As you might expect, adding a new rule is a simple matter of creating a rule class and adding an extension to the plug-in.
您可能会想,添加一条新规则,要比创建规则类和向插件添加一个扩展容易。
In some cases, you might find it useful to further restrict a class-based rule based on the element to which the class is attached.
在某些情况下,可以根据类所在的元素进一步限制基于类的规则。
ValidationRule is an abstract class for a rule engine used to validate and format ViewController field content.
ValidationRule是规则引擎的抽象类,用来验证并格式化ViewController字段内容。
Since there is an association between storage system and storage class, objects will move along the designated storage system according to the rule set in migration policy.
由于存储系统和存储类之间存在关联,因此对象将根据移植策略中设置的规则移动到指定存储系统中。
There is no rule for determining which notation to use, except to use your personal judgement regarding which is easiest to read for the class diagram you are drawing.
并没有规则要求使用哪种标记,除了用你个人的判断:哪种更便于阅读你画的类图。
The temperature system is a class of difficult object, In this paper, an method of control based on the experiment rule for the Si Mo furnace is developed.
温度系统是一类较难控制的对象,例如文中所述硅钼炉的温度控制问题,作者采用经验规则控制方法解决了这类对象的有效控制问题。
The inertial object with uncertain coefficient is a class of difficult object, in this paper, an method of control based on the experiment rule for the Si-Mo Furnace is developed.
变惯性系数惯性对象是一类较难控制的对象,例如文中所述硅钼炉的温度控制问题,作者采用经验规则控制方法解决了这类对象的有效控制问题。
But we have a leadership class and an experience of globalization that is from the world of gesellschaft: where systems are impersonal, rule based, abstract, indirect and formal.
而我们的领导阶层和全球化经验来自法理社会:其系统是非人性的,基于规则的、抽象的、间接的,以及正式的。
The rule of the game is: first, the class is divided into two groups, and every group elects a leader.
游戏的规则是这样的:第一,班里分成两组,并且每个组选一个组长。
The policy rule structural class in policy repository schema is illustrated in the end.
文章最后例举了策略信息存储方案中的策略规则结构类。
On the basis of class and in accordance with the level structure and the inheritance relation of class, a rule base is constructed by using linked lists.
它以类为基础,并根据类的层次结构和继承关系用链表来构造规则库。
One implication of this rule is that it is impossible to derive a class from itself.
这一规则暗示着不可能从类自身派生出一个类。
This rule is applied recursively if the base class itself is derived from some other class.
如果基类是由别的类派生而来,这个规则会递归的应用上去。
The task of classification problem is to mine a rule-set for forecasting the class of a new example by studying the data sets with class label.
分类问题的任务是对已有类别的数据集用分类器挖掘一组规则集来预测新样例数据的类别。
Eigenpalms based feature extraction is designed according to the rule of in-class distance and between-class distance.
基于特征手的掌纹特征提取算法是根据类内类间距离准则而设计的特征提取算法。
The proposed Word-Class Stochastic Model (WCSM) is the basis for syntax rule based semantic parsing and spoken language understanding which has better performance.
一是提出并实现了词类概率模型,它具有较高的性能和较低的时间复杂度,是基于句法规则的语义分析和语言理解的基础。
Class to contain a conditional rule that is used to execute a loop for a particular number of times.
包含用于按特定次数执行循环的条件规则的类。
Class, what is the rule about asking questions?
同学们关于问问题的规矩是怎样的?
Science is not domain limited. No doctrine can rule over it, no social class or boundary can judge upon it, and there is no classification of it in terms of nobility.
科学没有领域的限制,科学不是教条,科学没有阶级与界限,更没有贵贱高下之分。
Science is not domain limited. No doctrine can rule over it, no social class or boundary can judge upon it, and there is no classification of it in terms of nobility.
科学没有领域的限制,科学不是教条,科学没有阶级与界限,更没有贵贱高下之分。
应用推荐