为节点类选择一个模板。
如果您想要避免扩散节点类,那么该选项很有用。
That option is useful if you want to avoid proliferating node classes.
对分配的火车从它设置群集的节点类的成员直接之一。
For the direct one for assigning the class membership for the nodes from the train set it clustered.
“抽象”节点类,或者_ XO _,本身有一些“神奇”的行为。
The "abstract" node class, or _xo_, has a few "magic" behaviors in itself.
如果希望在程序中创建非常专有的节点类,还有可能有更多的神奇功能。
Still more magic is possible if you want to create your very own node classes within a program.
要设计TreeViewer演示应用程序,您必须创建节点类作为数据模型。
To design a TreeViewer demo application, you must create your node class as your data model.
在这里,我们将创建两个名为nbateamnode和NBAPlayer的节点类。
Here, we create two node classes named NBATeamNode and NBAPlayer.
最后,在负载最小的节点类中按照均匀概率随机选择一个节点作为任务调度的对象。
At last, a node in the least loading class is selected randomly and uniformly.
在设计过程中采用面向对象设计方法,构造了多项式类和节点类,并在其中声明了相应属性及操作。
In the design process using object-oriented design, construct a polynomial class and node class, and the corresponding statement in which the attributes and operations.
定义了树节点类来动态地反映节点间的链接关系,采用深度优先算法,快速识别网络拓扑结构的变化。
The Type of tree node is defined to show the link relation between nodes, and the depth-first strategy is employed to identify topology structure.
这些元素和属性类的包路径依赖于xml节点的名称空间,其名称由名称空间、本地名称和节点类型组成(见清单2)。
The package path of these element and attribute classes is dependent on the namespace of the XML node, whose naming is composed by use of the namespace, local name, and node type (see listing 2).
在创建时——无论是动态创建还是由程序员创建——具体节点类的形式为_ XO_tagname(其中是在对象化的XML文档中出现的标记)。
Upon creation — whether created dynamically or by a programmer — concrete node classes have the form _xo_tagname (where is a tag that occurs in the objectified XML document).
事实上,您可以置换每种节点对象的基类,从而能够定制整个应用程序的行为。
In fact, you can substitute the base class for every node object, giving your whole application custom behaviors.
比如,用户可以跟踪一个XML文档,看到所有的节点和数值,或者跟踪某个定制的类,以看到它的结构和属性。
For instance a user can trace an XML document to see all the nodes and attributes, or trace a custom class to see its structure and properties.
消息修改类,用于在消息通过该节点时对其进行修改。
Modifying message class — for modifying a message as it passes through the node.
每个类节点可能包括一些文档,还会有一组方法节点。
Each class node might contain some documentation, and also a collection of method nodes.
分析API通过提供一个公用的访问者类和抽象查询机制,消除了和访问AST节点相关联的大部分挑战。
The analysis API eliminates most of the challenges associated with visiting AST nodes by providing a common visitor class and abstracting the query mechanism.
当它们不自动管理时,您总是会有方法在xml类树表示法中创建或避免创建一个名称空间节点。
Where they don't, you usually have a method to create or avoid creating a namespace node in the tree-like representation of the XML.
如果你已从更大的类中选择了其它方法,就可能在测试中看到像是节点的方法。
If you had selected additional methods from a larger class, you would see each method appear as a node in the test.
代理插件组件提供了创建用户插件节点所需的一些类。
The broker plug-in component provides the necessary classes required for creating a user plug-in node.
例如,一个Python模块通常会作为一个节点,并包含对应于它的类的子节点。
For example, a Python module will usually be a node, which contains a number of child nodes for its classes.
为了获得完整的解决方法,我们需要为可能包含表达式的每个类创建一个defmethod,从而得到一个concat节点。
For a full solution, we would need to create a defmethod for every class that might hold an expression, and thus a concat node.
为了避免第一个模块版本中草率的冲突,xml_objectify现在对xml节点的类模板名称做了“大改动”。
In order to avoid a sloppy conflict in the first module version, xml_objectify now "mangles" the names of the class templates for XML nodes.
在这个闭包中,您将再次使用类xpath表达式entry \ “service ” \ “id ”来从entry节点提取服务的id。
In the closure, you once again use an XPath-like expression, entry \ "service" \ "id" to extract the id of the service from the entry Node.
所有的节点都包含着ntpclient类,这些类在清单2中定义。
All nodes then include the ntpclient class, which is defined in Listing 2.
在请求信封的节点输入文本pen,第3次发送请求,但是使用不同的类名。
Enter the text pen in node of the request envelop and send the request for a third time, but with different category name.
read - from - stdin循环中的第一部分将打印聚类描述,并打印在聚类内显示的节点。
The first section inside the read-from-stdin loop prints out the cluster description, along with the node to display inside the cluster.
得到了DOM版本后,我使用XPath查询来获得出现vevent类的页面上的所有标记,并将那些节点传递给parse_event。
With the DOM version in hand, I use XPath queries to get any tag on the page where the vevent class occurs, and I pass those nodes on to parse_event.
注意,or g根节点使用两个对象类:top和domain。
Notice that the root org node USES two object classes: top and domain.
这个类还实现SelectionHandler和OpenHandler接口,从而处理树节点选择和打开事件。
The class also implements the SelectionHandler and OpenHandler interfaces to handle tree node selection and open events.
应用推荐