The other notable line in this test is the class definition, which points to the template class, rather than one that you might create.
这个测试中另一个值得注意的行是这个类定义,它指向这个模板的类,而不是您可能创建的模板。
A window pops up, in which you can type the name of any class in your workspace (see Figure 8).
将弹出一个窗口,您可以在其中键入工作空间中的所有类的名称(参见图8)。
Asking Americans which class they belong to does not get you very far, since almost all Americans are sure that they belong to the middle.
如果问美国人他们属于哪个阶级,你不会有太多收获,因为绝大多数美国人都确信,他们属于中产阶级。
You can also create a class to manage the data object, which will contain all the information that you retrieved from the JSON file.
您还可以创建一个类来管理数据对象,这个对象包含您从JSON文件查询得到的所有信息。
Which would you rather have to write and maintain: a big class or a small one that does the same thing?
您希望编写并维护哪一个:一个庞大的类或是具有相同行为的很小的类?
Create an extension to the framework code building class, with which you can customize the generated code.
为框架代码构建类创建扩展,利用此种扩展你可以定制所产生的代码。
A list of all classes in the project's build path that match that pattern are presented in a list, from which you can select the class and package name you want to use.
将在一个列表中显示与该模式匹配的项目构建路径中的所有类,您可以从此列表中选择您希望使用的类名称和包名称。
Coverage tests let you see which code is actually being executed in a class or application.
覆盖测试使您可以清楚一个类或应用程序中哪一部分的代码真正得到执行。
In the case of JMS, you need to tell the system which class to use to do this transformation.
对于JMS,您需要告诉系统使用哪个类来进行此转换。
I also wanted to show you the coconut passion cake we made in cake class, which is one of my favorite.
我也想向你展示一下我们在蛋糕班上做的椰果蛋糕,我的最爱!
It doesn't matter which driver you want to use; you always use the PDO class name.
不管您想要使用哪种驱动程序,您总是使用pdo类名。
For this purpose, you use the hash class in Ruby, which allows you to create key-value pairs (in what appears to be an array), but then easily reference them later by key.
为此,您可以使用Ruby中的hash类,它允许您创建键值对(类似于数组),但是随后可以轻松地通过键引用它们。
The only thing a class needs to be used this way is a default constructor (which allows you to create an anonymous inner class instance inheriting from your class).
惟一需要以这种方式使用一个类的是一个默认构造函数(它允许您创建继承自类的一个匿名内部类)。
The first is the server class, which you use to create servers; the second is the client class, which you use to create clients.
第一个是server类,您可以用它来创建服务器;第二个是client类,您可以用它来创建客户端。
This is where you find the Boot class, which defines many of the configuration parameters of our application.
在这里可以找到boot类,这个类定义应用程序的许多配置参数。
Now you create the FunctionCall class, which is called by the Extension class and contains your custom methods.
现在将创建functioncall类,它是由extension类调用的且包含定制方法。
You can use JUnit's TestSuite class (which is of type test) to define a collection of tests as belonging together.
可以使用JUnit的testsuite类(属于test类型)来定义许多互相归属的测试。
Instead, you have created the new GenericOrder class, which has the same problems as wrappers, described next.
相反,您已经创建了新的genericorder类,其作为包装程序具有相同问题,下面会进行描述。
For an example, see the.net Framework documentation for the CryptoStream class, which shows you how to encrypt a byte array from an incoming FileStream object.
有关示例,请参阅cryptostream类的. NETFramework文档,它说明了如何加密来自传入的FileStream对象的字节数组。
Listing 4 presents the ActionScript class contact, which you create to represent contact objects on the Flash side.
清单4展示了ActionScript类Contact,创建该类的目的在于表示flash端的联系对象。
In line 14, you instantiate the Service class, which Apache Axis provides.
在第14行,实例化apacheAxis提供的Service类。
Then you can continue narrowing down to determine which package, class, and, finally, which method is causing the problem.
然后您可以继续进行分析,把范围缩减到哪个包、类,直到找到导致问题的方法。
Another helpful addition to PHP V5 is the abstract class, which makes it easy to have one base class to implement the core of an interface from which you then create concrete classes.
PHPV 5中另一个有帮助的新功能是抽象类,使用抽象类可以轻松地用一个基类实现接口的核心部分,然后用该接口创建实体类。
Note that with tag-class selectors, you can add them only to the tag for which you defined the class.
注意,如果使用标记类,那么只能把这些类添加到定义的相关标记中。
In this way, you can change the concrete class later without changing the library code, which relies solely on the definition you created in the interface.
这样,日后就可以在不改变库代码的情况下修改具体的类,因为库只依赖接口中创建的定义。
Notice the Interfaces text area, in which you can enter any interface you want this class to implement.
注意在接口文本区域可以输入任何你希望该类实现的接口。
As you play with SQL data binding and add books and authors (which you should absolutely do), you can update this class to remove those entries.
利用SQL数据绑定可以添加图书和作者(绝对应该这样做),与此类似,也可通过更新类来删除这些记录。
This article presents an alternative method in which you use a single database class to wrap multiple database tables.
本文提出一个替代方法:使用单个数据库类包转多个数据库表。
Notice that you're never required to register all the public properties or methods of the class — you can choose which ones you want to expose to the container.
注意,不必要注册类的全部公共属性和方法——可以从中选择想向容器公开的那些公共属性和方法。
When you get enough sleep, you tend to have a sharper mind, which will help you retain more information you learn in class.
在你有充足的睡眠的情况下,你的大脑会更犀利,更清醒。
应用推荐