For example, suppose you have a class loader called MyClassLoader.
例如,假设您有一个名为MyClassLoader的类加载器。
A class selector selects all elements that have a class attribute with a particular value.
类选择符选择class属性为特定值的所有元素。
As mentioned earlier, this only requires that the tag surrounding this section have a class parameter.
正如之前提到的,这只要求包围这个部分的标记具有class参数。
Here, we have a class called Hello, where the main method merely creates an ApplicationWindow, then opens it.
这里我们创建了一个名为Hello的类,其中main方法仅仅创建了一个ApplicationWindow,然后打开它。
If you have a class that already knows about the domain objects, it is fine to use these objects in your tests.
如果您有一个已知这些域对象的类,则在测试中完全可以使用这些对象。
Then after I prepare for my lessons for a while, I go to have a class.
接着,我备了一会儿课便又去上了一节课。
I have a very important meeting today. I don't think we can have a class today.
我今天有一个非常重要的会议,我想我们今天不能上课了。
Not a problem. Ah, it's nearly 8 o 'clock. I have a class, chemistry. What about you?
没问题。噢,现在快8点了,我要去上课了,化学。你呢。
But if you have a class that isn't using these objects, do not tie these objects to the class through the tests.
但是如果您有一个根本不使用这些域对象的类,在测试中就不要将这些对象联系到该类上。
Maybe have a class that hides the raw details of your persistence mechanism, but for now uses SQL strings underneath it.
可能会需要有一个类用来隐藏持续机制的原始细节,但眼下还是使用SQL字符串。
Now that you have a class to model images from Flickr, you just need a way to get some data to stuff into these classes.
现在您已经拥有一个可以对Flickr图像建模的类,因此只需使用某种方法获取数据来填充这些类。
Within just a few mouse clicks, I have a class that can be nearly complete, depending on what I want to do with it (see Listing 2).
只需点击几下鼠标,一个类就差不多创建完成了,具体情况取决于要用该类实现什么功能(见清单2)。
For example, suppose that you have a class that stores user information and service information in two separate hash tables, as shown in Listing 3.
例如,假设您有一个类,它用两个单独的散列表来存储用户信息和服务信息,如清单3所示。
Though we probably did not make it very easy for her at first… You know how every school seems to have a class that everyone thinks will never graduate?
虽然最开始我们可没少给她添麻烦……你知道,每所学校似乎都有那么一个班,每个人都认为这个班的学生不可能毕业。
To have a class blog, should be creative in form and content, and keeps improving. The blog for the next generation truly plays an important role on education.
办好班级博客,应力求在形式上有所更新,内容上有所创意,不断完善,让班级博客真正成为教育好下一代的重要阵地之一。
The territory participating units shall have a class A urban planning qualification, and the overseas participating units shall have the corresponding qualifications of the host country.
境内参与单位应当具备甲级城市规划资质,境外参与单位应具备所在国的相应资质。
Suppose you have a class which you serialized it and stored in persistence and later modified that class to add a new field. What will happen if you deserialize the object already serialized?
假设你有一个类并且已经将这个类的某一个对象序列化存储了,那么如果你在这个类中加入了新的成员变量,那么在反序列化刚才那个已经存在的对象的时候会怎么样?
Suppose you have a class which you serialized it and stored in persistence and later modified that class to add a new field. What will happen if you deserialize the object already serialized?
假设你有一个类并且已经将这个类的某一个对象序列化存储了,那么如果你在这个类中加入了新的成员变量,那么在反序列化刚才那个已经存在的对象的时候会怎么样?
应用推荐