For example, all a VFR pilot has to do to enter Class C airspace is establish two-way radio contact with ATC.
例如,VFR飞行员进入C类空域所要做的就是与空中交通管制建立双向无线电联系。
If you observed a four-year-old child, for example, my daughter is 4 years old; you might read up on Piaget's stages of cognitive development we covered those in class.
如果你观察一个四岁的孩子,例如我四岁的女儿,你可能要先研读皮亚杰的认知发展阶段理论,这一理论是我们在课堂上讲过的。
To simplify this example, we'll just add a new class whose methods return some simple data.
为了简化这个示例,我们添加了一个新类,它的方法返回一些简单数据。
However, the class diagram offers a prime example of the structure diagram type, and provides us with an initial set of notation elements that all other structure diagrams use.
然而,类图提供结构图类型的一个主要实例,并为我们提供一组记号元素的初始集,供所有其它结构图使用。
But even the rather rudimentary UML class diagram in this simple example provides a lot of information.
但是,即便是这个简单例子中极其基本的UM l类图,就已经提供了相当多的信息。
A common example of an error in a profile is a stereotype or class attribute with no type.
概要文件中的一个普通错误案例都是原型或者没有类型的类属性。
The following example is a template for creating a class with an arbitrary amount of properties.
下列实例是一个模板,用于创建拥有任意数量属性的类。
Now let's begin our example by creating a simple class that we can exercise in our test scenarios.
现在,让我们建立一个测试场景的简单的类,来开始我们的示例。
The StyledText example USES a helper class, TextContent, to identify ranges of text with special attributes.
StyledText的例子使用了一个helper类textcontent,以确定具有特殊属性的文本的范围。
Listing 2 presents an example of a class that USES atomic updates to change the book that someone is reading.
清单2展示一个有关类的示例,该类使用原子更新来更改某人正在读取的书目。
Here is a simple example of normal inheritance. We define a Noble base class, with subclasses such as Prince, Duke, Baron, etc.
这里有一个普通的继承的简单例子,我们定义了一个Noble基类,它有子类Prince,Duke,Baron等等。
This is often a class object which holds a static reference; for example, the MyClass object in the memory leak example in Listing 1.
这通常是一个保留静态引用的类对象;例如,清单1的内存泄漏示例中的MyClass对象。
The example begins by creating a new class called WebServerClass.
这个示例首先创建一个称为WebServerClass 的新类。
As an example of a class loader hierarchy in action, Figure 1 shows the class loader hierarchy defined by the Tomcat servlet engine.
作为类装入器层次结构的实际示例,图1显示了Tomcatservlet引擎定义的类装入器层次结构。
Adds a new UML element (for example, a UML class to checked-out UML fragments) and modifies an existing UML element in the model file as well as the fragment file.
添加一个新的UML元素(例如,一个UML元素以检出UM l片段),并变更模型文件或者片段文件中已存在的uml元素。
Register callback implementations (by using a class that extends DefaultHandler, for example).
注册回调实现(例如,通过使用继承defaulthandler的类)。
For example, a class load from another location may not be trusted for access to the local filesystem.
例如,当从另一个位置加载的类访问本地文件系统时,我们可能不信任它。
Dependency injection can occur in a variety of ways, for example, via a setter method or a class variable.
依赖性的引入可以以多种方式出现,例如,通过设置属性值的方法或者类变量。
Figure 1 shows an example class model, which represents a company with employees and offices.
图1显示了一个实例类模型,它表示一家拥有雇员和办公室的公司。
For example, I'm hoping to take a French class at a local college when the fall term starts.
比如,我希望这个秋季学期开始的时候到当地大学参加一个学法语的培训班。
Listing 1 gives a simple example of a service interface, and a root data model class.
清单1给出了一个服务接口和根数据模型类的简单例子。
It is defined as a separate element, because it is possible for a single class to contribute to multiple parts of a transformation (for example, class, property, and operation).
它被定义为单个的元素,因为单个类对转换的多个部分(举例来说,类、属性,和方法)做出贡献是可能的。
For example, a class loader could first load a class explicitly and then load all of its referenced classes implicitly.
例如,类装入器可能先显式地装入一个类,然后再隐式地装入它引用的所有类。
This article gives you a simple example of a small class hierarchy to illustrate this concept.
本文将提供一个小型类层次结构的例子,举例说明这个层次结构的概念。
Rather than using reflection to access a property of an object, for example, you can construct a class at run time that does the same thing — but does it much faster.
它没有使用反射来访问对象的属性,例如,可以在运行时构建一个类来做同样的事——但这样做会快许多。
For example, when adding a class to a diagram, it can draw all these relationships automatically.
比如,在向图中增加类时,它可以自动地画出这些关系。
Unlike, for example, a class-cast exception, a null-pointer exception says nothing about what was expected instead of the null pointer.
例如,不像一个类转型异常,空指针异常不给出它所需要的内容的任何信息,只有一个空指针。
Because our example application included a business delegate class, we placed the validation logic there.
因为示例应用程序包含了一个业务委派类,所以我们在其中放置了验证逻辑。
All I had to do was write a tiny mapping class, and I could make the example work with any tables and classes. I had a general purpose structure.
我所要做的一切,就是写一个很小的映射类,就能够让这个例子对任意的表和类都适用。
In this article we'll look at an example of creating tests for a single class using IRAD.
本文中,我们将看一个使用IRAD为单个类建立测试的示例。
应用推荐