I create two mock objects for this project to simulate the GPS device and the UI, respectively.
我为此项目创建了两个模拟对象,分别模拟GPS设备和UI。
As you can see, you can then create objects of this new subclass, specifying the two properties (title and HTML) that vary between each of the Windows.
正如您所看到的,您可以创建这个新子类的对象,指定两个在每个窗口中各不相同的属性(title和html)。
Here, you create two new view objects and render them with the data previously sent to the main view.
在这里,我们创建了两个新的view对象,并用之前发送给主视图的数据呈现它们。
The first thing I've done inside the run method is to create two instances of the Alternative class, each with a different array of Guards objects.
在run方法中,要做的第一件事是创建alternative类的两个实例,每个都有一组不同的Guard对象。
This program contains two function definitions: print_lyrics and repeat_lyrics. Function definitions get executed just like other statements, but the effect is to create function objects.
这个程序包含两个函数的定义:print_lyrics以及repeat_lyrics,函数定义的执行就和其他语句一样,但是效果是创建函数对象。
Factory mode two most important functions: 1 the definition of an object to create an interface that encapsulates the construction objects 2 makes specific class work delayed to subclasses.
详细说明:Factory模式的两个最重要的功能:1定义创建对象的接口,封装了对象的建;2使得具体化类的工作延迟到了子类中。
Two friendly kangaroos create surprises from objects they pull out of their pockets.
两只友好的袋鼠从它们口袋里拿出的物件中创造惊喜。
In order to receive a certificate in this field, the student must learn how to create two-dimensional and three-dimensional drawings of mechanical objects using computer design equipment.
要获得此类专业的证书,学生必须能够利用电脑设计系统绘制二维和三维的机械产品草图。
In order to receive a certificate in this field, the student must learn how to create two-dimensional and three-dimensional drawings of mechanical objects using computer design equipment.
要获得此类专业的证书,学生必须能够利用电脑设计系统绘制二维和三维的机械产品草图。
应用推荐