创建一个新的对象也叫做实例化,这个对象就是类的一个实例。
Creating a new object is called instantiation, and the object is an instance of the class.
您可以在子工作区内创建一个新的对象(图表,符号,或者定义),并将其保存。
You can create a new object (diagram, symbol, or definition) in the child Workspace, and save it.
只要您从数据库中检索新行,该行就会由其主键记录到标识表中,并且会创建一个新的对象。
Whenever you retrieve a new row from the database, the row is logged in an identity table by its primary key, and a new object is created.
如果您想要改变一个不可变对象的话,您不会改变它,而是使用修改后的值来创建一个新的对象,并把您的引用指向它。
If you want to change an immutable object, you don't - you create a new object with the changed value and point your reference to it.
一个操作规则,它为内部变量创建新的业务对象,并向它们赋予某些值。
An action rule that creates new business objects for the internal variables and assigns some values to them.
通常,如果再次到达该实例,则将创建一个继承此标记的新实例对象。
Normally, if it is reached again, a new instance object is created which inherits this mark.
为每个HTTP请求创建一个新的XHR对象也有问题,因为只要应用程序需要这些对象,浏览器就不会从内存中删除它们。
Creating a new XHR object per HTTP request poses another problem because the browser won't delete these objects from the memory as long as the application might need them.
也有一些情况,你需要创建一个SDO对象(或一系列sdo对象)新的实例,并且将其序列化到一个XML中。
There are also situations when you would need to create a new instance of an SDO object (or a graph of SDO objects), and serialize that into XML.
您创建了一个新的内容对象,以及它的编写模板和演示模板。
You created a new content object and its authoring and presentation templates.
接下来,您创建一个名为 $rss的新对象,此对象是将提要的URL传递到您的 XML_RSS构造器的结果。
Next, you create a new object called $rss, which is the result of passing the URL to the feed to your XML_RSS constructor.
因为要在新的材料中表示其他数据属性,所以首先要在SAPERP中创建一个新的业务对象子类型,并创建其他属性。
Because you want to represent a new material with additional data attributes, you first need to create a new business object subtype in SAP ERP and create the additional attributes.
当第一次打开这个特殊文件时,就会创建一个新的VM对象,它与一个虚拟cpu关联在一起。
When the special file is first opened, a new VM object is created that is associated with a virtual CPU.
在这里,第一行代码使用指定的主机名和端口创建了一个新的BIO对象,并以所示风格对该对象进行格式化。
Here, the first line creates a new BIO object with the specified hostname and port, formatted in the fashion shown.
相反,创建一个包装器函数,它返回现有对象的句柄,或者创建一个新对象并添加到映射中,如清单1中的代码所示。
Instead, create a wrapper function that either returns a handle to the existing object for a particular community or creates a new object and adds it to the map, using the code in listing 1.
要创建一个新对象(这里是将返回的字符串),首先分配对象,然后初始化对象。
To create a new object (in this case, the string that will be returned), first alloc the object and then initialize it.
当一个单例对象被当着垃圾回收,然后该单例类又被重新加载,一个新的单例对象被创建。
When a singleton class is garbage-collected and then reloaded, a new singleton instance is created.
步骤2:管理员在DC1 上创建了一个新对象,DC1的 USN增加到了 3001,如图 2 所示。
Step 2: An administrator creates a new object on DC1, and DC1's USN is incremented to 3001, as shown in Figure 2 .
servlet容器创建一个新的 servlet请求对象。
在上面的代码中,创建了一个新的章节对象,chapter1,其标题为“Thisischapter1”,将编号级别设为0就不会在页面上显示章节编号。
In the code above, we created a new chapter object, chapter1, with the title "This is chapter 1." Setting number depth to 0 will not display the chapter number on page.
清单2从包含源文件开始,然后创建一个新的buzz对象。
Listing 2 begins by including the source files, and then creating a new buzz object.
相反,会自动创建一个新的Rate业务对象实例并赋值给out put1。
Instead, a new Rate business object instance automatically gets created and assigned to output1.
setMaterial()创建了一个新的Material对象,通过使用各颜色组件标识符的setColor()设置颜色。
setMaterial() creates a new Material object and sets the colors with setColor() using the respective color component identifier.
这个方法比较简单,因为它只是使用传入的信息创建一个新的blog对象,然后将这个对象放在缓存中。
This method is trivial because it simply creates a new blog object with the information passed in and then places it in the cache.
首先,它从构建文件创建一个文件对象,然后创建一个新的Project对象。
First, it creates a file object from the build file and then creates a new Project object.
第8行创建了一个新的xmlrpcmsg对象,它对rpc调用的内容进行编码。
Line 8 creates a new XMLRPCMSG object that encodes the contents of the RPC call.
这段代码创建了一个新的XML文档对象模型(Document Object Model ,DOM),然后将 $items数组中的所有数据都保存到这个模型中。
This code creates a new XML Document Object Model (DOM), then adds all of the data in the $items array to it.
创建了一个新的SWFShape对象,然后向其中添加了一些笔触移动和直线。
I created a new SWFShape object, then added some pen moves and lines to it.
创建了一个新的SWFShape对象,然后向其中添加了一些笔触移动和直线。
I created a new SWFShape object, then added some pen moves and lines to it.
应用推荐