分类,如我们在前一篇文章的例子中看到的,使用每个数据实例来创建树,我们需要遍历此树才能找到答案。
Classification, as we saw from the example in the previous article, USES every data instance to create a tree, which we would traverse to find our answer.
可能得到的子元素规定了扩展何时为查看器中的对象提供父对象,在本文的例子中,这些对象指的是EMF模型对象或资源的实例。
The possible children element dictates when our extension can provide parents for objects in the viewer, in our case these are objects that are instances of EMF model objects or resources.
面试官叫你举出某段时间你做某事的一个例子时,他是在试图寻找你过去行为的一个实例。
When an interviewer asks for an example of a time when you did something, he is seeking a sample of your past behavior.
图17可能没有举例说明做并行活动的对象的最好的计算机系统实例,不过提供了一个容易理解的并行活动序列的例子。
While Figure 17 May not illustrate the best computer system example of an object doing activities in parallel, it offers an easy-to-understand example of a sequence with parallel activities.
当一个系统结构建模时,显示例子类实例有时候是有用的。
When modeling a system's structure it is sometimes useful to show example instances of the classes.
这个例子就不能更新模型实例、更改列表标题和定制默认用户列表排序了。
This example removes the ability to update instances of your model, changes the list heading, and customizes the default user list sorting.
清单1是一个例子,根据我所找到的建议,LOMXML绑定实例可能是这个样子。
Listing 1 is an example of what a LOM XML binding instance might look like, based on the proposal I found.
推荐人和候选人工作的越紧密,它能给出的事实例子就更多。
The more closely the recommender has worked with the candidate, the more examples he or she can share.
以下的代码例子展示如何用这种方法创建CBE实例。
The following code sample shows how to create a CBE instance using this method.
为了这种结构建模,UML2提供实例规范元素,它显示在系统中使用例子(或现实)实例的值得注意的信息。
To model this, UML 2 provides the instance specification element, which shows interesting information using example (or real) instances in the system.
这种重点的变化(从基于规则到基于实例)是很重要的,因为它更加的健壮,而且当今的线上世界里取得大量的例子要比访问少数专家容易的多。
This shift in focus is important because it is more robust, and because in today's online world it is often much easier to gather lots of examples than to interview an expert.
让我们考虑一个例子,我们有一个从XML请求中加载的sdo图表实例。
Let's consider an example where we have an instance of an SDO graph loaded from an XML request.
在这个例子中,A扩展了b;但是,即使A用其他方式引用B,也会出现同样的问题——例如,以方法参数引用或作为实例字段。
In this example, a extends B; however, the same error would still occur if a referenced B in any other way — as a method parameter, for example, or as an instance field.
根据例子进行查询的理念使用模板实例,而不是为查询指定精确的谓词。
The idea of query-by-example is that instead of specifying the exact predicates for a query, a template instance is presented.
举个相反的例子,有状态服务接口将倾向于通过将使用者与特定提供者实例关联来增加使用者和提供者间的耦合。
As a counter-example, a stateful service interface will tend to increase coupling between consumer and provider by associating a consumer with a particular provider instance.
这是JAR文件的默认位置,其中的CWYLAW是这个例子中的实例名。
This is where the JAR files will go by default, where CWYLAW is the instance name in this case.
让我们来看一个例子——从一种语言到另一种语言的自动翻译(例如,从英语到法语)——来展示计算机如何从实例中学习。
Let's look at an example - automated translation from one language to another (for example, English to French) - to see how these lessons have been learned.
在下面的例子中,字符串msg的实例有一个元类,我们可以通过metaClass属性访问该元类。
In the following example, the MSG String instance has got a meta-class that we can access through the metaClass property.
要更新authentication实例参数的值(在这个例子中就是DATA_ENCRYPT的值),可以使用清单3中显式的命令。
To update the AUTHENTICATION instance parameter - in this example to a value of DATA_ENCRYPT - use the commands shown in Listing 3.
清单1展示如何创建一个FileVisitor实例的例子?
Listing 1 shows how we create an example FileVisitor instance.
组合聚合的另一个重要功能是部分类只能与父类的实例相关(举例来说,我们例子中的Company类)。
Another important feature of composition aggregation is that the part class can only be related to one instance of the parent class (e.g. the Company class in our example).
下面的例子将介绍如何切换到一个名为tsom 的DB2实例拥有者登录上下文。
The following examples show you how to switch to the login context of a DB2 instance owner named tsom.
这个例子系统使用了一个Email对象来代表直接电子邮件通讯的一个实例。
The example system employs an email object to represent an instance of a direct email communication.
举一个更为现实和复杂的例子,WorkUnit可能有很多实例变量,它们实际上只在由Worker运行的时候才是相关的。
For in a more realistic and complex example, the WorkUnit may have many instance variables that are really only relevant when it is being run by the Worker.
一般推荐使用上面例子的方法创建代理,因为它允许你通过配置net . sf . cglib . proxy. Enhancer实例很好的控制代理的创建。
It is preferred to use the approach shown in the above example because it allows you to configure the net.sf.cglib.proxy.Enhancer instance to fine control the generated proxies.
在这个例子里,不同的图形的实例被发送到执行者(Actor)来进行绘画和显示。
In this example, instances in a geometric Shape hierarchy are sent to an actor for drawing on a display.
一个典型的例子就是将电子表格中的数据转化为数据库中的数据或者XMLSchema实例。
An example might be the ability to convert spreadsheet data into database schema values or XMLSchema instances.
因此,我们的例子给出了两个与NX0337 Plane实例相关的Flight实例。
Therefore, our example shows the two Flight instances that the NX0337 Plane instance is related to.
在清单2中,我们看到了用于配置SecurityManager实例的INI配置例子。
In Listing 2, we see the example INI configuration we will use to configure the SecurityManager instance.
这些例子演示如何注册XML模式、如何执行 XML实例文档验证,以及如何使用XQuery或SQL/XML查询 XML数据等。
The examples show how to register an XML Schema, how to perform validation of XML instance documents, how to query XML data using XQuery or SQL/XML and much more.
应用推荐