创建一个新的对象也叫做实例化,这个对象就是类的一个实例。
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.
右键单击编辑器,创建一个新的业务对象。
通常,如果再次到达该实例,则将创建一个继承此标记的新实例对象。
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.
创建一个新业务对象,选择创建的接口。
Create a new business process, selecting the interface created.
也有一些情况,你需要创建一个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.
servlet容器创建一个新的 servlet请求对象。
清单2从包含源文件开始,然后创建一个新的buzz对象。
Listing 2 begins by including the source files, and then creating a new buzz object.
如果没有可用对象,则创建一个新的HttpApplication对象。
If no objects are available, a new HttpApplication object is created.
相反,会自动创建一个新的Rate业务对象实例并赋值给out put1。
Instead, a new Rate business object instance automatically gets created and assigned to output1.
第一行加载模块,然后您创建一个新的Worker对象。
The first line loads the module, then you create a new Worker object.
这里创建一个新的QueryPath对象。
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.
第一步是创建一个新的Application对象的实例。
The first is to create a new instance of the Application object.
首先,创建一个新的Client对象。
首先,它从构建文件创建一个文件对象,然后创建一个新的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.
第8行创建了一个新的xmlrpcmsg对象,它对rpc调用的内容进行编码。
Line 8 creates a new XMLRPCMSG object that encodes the contents of the RPC call.
应用推荐