Suppose you have a tree object, and want to search its leaves in left-to-right order.
假定一个树对象,并且想要以从左到右的顺序搜索它的叶子。
To create the Binary Tree simply create a CSimpleBinaryTree object and initialise it.
要创建二叉树,可以简单的创建一个CSimpleBinaryTree对象并初始化。
As shown in Figure 5, you need to get the tree object, and then use one of the methods to right-click a node of the tree.
如图5所示,您需要得到树对象,然后使用方法中的一种以右击树的节点。
In the case of the tree object, Listing 11 shows a program to add a node to a tree object captured as verification point.
在tree对象中,列表11显示了一个添加节点到作为验证点获取的tree对象的程序。
By overriding the writeTo() method, the code converts the DojoTree object into a tree format and writes it in an HTTP Response output stream.
通过重写 writeTo()方法,代码将DojoTree对象转换成一个树格式然后写入一个HTTPResponse输出流。
The grdTree method previously used to get the tree object is replaced with that defined in the MainGUI class, which is the getGrdTree method in this example.
前面使用的 grdTree方法,可以用于将树对象替换为MainGUI类中定义的书对象,在本例中是getGrdTree 方法。
Listing 1 instantiates a default tree viewer; you can also customize the tree and instantiate the tree viewer by using a constructor with a tree object as the parameter.
清单1实例化一个默认的树查看器;您也可以定制树,并用树对象作为参数,用构造函数实例化树查看器。
This object contains the entire XML tree and has methods associated with it to search for nodes, export, validate, and create new nodes.
这个对象包含了整个xml树,并且具有与之关联的各种方法可用来搜索节点、导出、验证和创建新的节点。
An item tree is a heavyweight object that takes time to build, and it is a structure you have to use an XML parser on.
一个条目树是一个重量级的对象,需要花时间去构建,并且它是一个您必须使用xml解析器才能解析的结构。
When you write an HTML page, you're actually writing an object tree.
在您编写HTML页面时,您实际上是在编写一个对象树。
But semantically, the object is also special in utilizing an inheritance tree for method resolution.
但是从语义上说,对象的特殊之处还在于利用继承树来进行方法解析。
A tree is created to represent the adapter business object, which is owned by this new domain.
创建了一个树来表示适配器业务对象,该树由这个新的域拥有。
In the case of a tree, you cannot get each tree node as an object.
在树形结构中,您不能将每一个节点当做一个对象。
A cyclic object graph cannot be transformed into a tree structure.
一个循环对象图不能够转换为树结构。
In that test, the Volt was subjected to a simulated side-impact collision into a narrow object like a tree or pole followed by a rollover, the agency said.
而代理的工作人员解释说,上周的测试中,同样是进行模拟侧面冲击,撞上细长物体例如树或是电线杆之后翻车。
When a PV array is shaded by another object, like a tree or a house, the solar panels get backed up with electrons like cars in a traffic jam, and the current drops.
当一个光伏阵列被树木或房屋等物体遮挡住时,太阳能电池中会发生电子堆积现象,好似在交通阻塞中的汽车一样,因而电流减弱。
Once the document tree is built from the object information, the value of specific elements can be extracted.
一旦利用对象信息构建完文档树之后,就可以提取特定元素的值了。
All reachable (and therefore live) objects in the VM can be found by tracing this tree (or trees) of object references called the GC root tree.
VM里所有能获得的对象能够通过跟踪被叫做垃圾回收根树的对象参考树来找到。
Once you have the root object of an arbitrarily complex tree, you can go ahead and work with it.
一旦得到任意复杂度的树的根对象,就可以开始使用它了。
Query the XML tree and return a products object.
查询此xml树并返回一个产品对象。
This method is invoked to obtain tree elements from the input object provided to the tree viewer.
调用该方法来从向树观察器提供的输入对象中获得树元素。
The Test Objects pane contains a tree that's a partial version of the script's object map.
测试对象面板包括一个树状结构,它是脚本对象图的一个部分版本。
When you click on an object which failed to deploy in the tree view, you can see the source of the object in the editor window.
单击树视图中部署失败的对象时,可以在编辑器窗口中看到这个对象的源代码。
Single table: The object tree is mapped to one table.
单个表:对象树映射到一个表。
The parent table in the left panel shows all the parent objects of any selected object in the tree.
左面板中的父表显示了树中任何所选对象的所有父对象。
The left panel also shows other details for any selected object in the tree; for example, the size of the object, the number of children, the total reach size, and so on.
左面板还显示了树中任何所选对象的其他详细信息;例如,对象大小、子对象数和总的到达大小等。
As soon as it is logging, it records every change to a property of its data object, and every data object in the tree below.
只要开始记录了,就会记录对其数据对象(及其下的每个数据对象)属性的每次更改。
The object abstracts the document's contents into a tree structure.
对象将文档的内容抽象成树结构。
As you see in Figure 3, to display all the DB2 systems that your system has cataloged, expand the object tree by clicking on the + sign next to systems.
如您在图3中所见,若要显示系统所编目的所有DB 2系统,可以通过单击systems前的+符号来展开对象树。
When you expose an object tree as a CherryPy URL space, the assumption goes the other way: Unless you explicitly label a method as exposed, it isn't served to outside users.
当您将一个对象树暴露为一个CherryPyURL空间时,假设是另一种情形:除非您显性地将方法标记为暴露,否则它不会为外面的用户提供服务。
应用推荐