This delegate simply returns the newly instantiated object and leaves the construction logic up to the client supplying the delegate.
该委托只是返回刚刚实例化的对象,而将构建逻辑留待提供该委托的客户端完成。
As the previous listings demonstrated, XJConf can use either attributes or child elements to correctly configure an instantiated object.
如上文中的清单所示,XJConf可以使用属性或子元素正确配置实例化的对象。
After instantiating the Prefab you can also modify any properties of the instantiated object (e. g. you can set the velocity of the rocket's Rigidbody).
在实例预置物体后,还可以修改实例物体的任意属性(例如设置火箭刚体的速度)。
By default, when an Ajax request to DWR invokes a creator, the instantiated object is placed in page scope and therefore is no longer available after the request completes.
默认情况下,到DWR的Ajax请求会调用creator,实例化的对象处于页面范围内,因此请求完成之后就不再可用。
Memory is allocated automatically in the heap area for each instantiated object, and the garbage collector periodically reclaims memory occupied by objects that are no longer needed.
每个实例化的对象都自动在堆中分配内存,垃圾收集程序定期收回不再使用的对象所占据的内存。
In this latter case, the object would be instantiated to report some information and then would not be required anymore.
在后面一种情况下,将对象实例化以报告某些信息之后,就再也不需要该对象了。
This properties object provides configuration for the instantiated client.
此属性对象提供实例化客户机的配置。
The focus on "one object at a time," instantiated, has the potential to create performance and capacity problems.
“每次实例化一个对象”的中心思想有可能会引起性能和容量问题。
After the simple load test, the object will be tested to ensure it was instantiated properly.
在简单装入测试后,将测试对象以确保它是正确实例化的。
When used as constructor parameters, the mutable or immutable variables specified will be initialized when an object is instantiated.
当作为构造函数参数时,这些可变或者不可变的变量会在一个对象被实例化的时候被初始化。
The PHP engine calls a constructor when the object is instantiated.
PHP引擎在实例化对象时调用构造函数。
A PHP data object is then instantiated by passing in the jndi name of the datasource.
然后通过传入数据源的jndi名称实例化一个PHP数据对象。
It is important to note that the sample servlet passes the database user ID and password as parameters when the DBController class object is instantiated.
重要的是,请注意实例化dbcontroller类对象时,示例servlet将数据库用户ID和密码作为参数进行传递。
The presentation components are instantiated by the control object located in controller.js.
表示组件由controller . js中的控制对象实例化。
With an instantiated Api object, you can get your followers, people you are following, and statuses (tweets); post your current status; etc.
借助一个实例化了的Api对象,您就获得自己的追随者、您所追随的人和状态(tweet);以及发布您当前的状态等。
With the customer object now instantiated and populated for our specific human customer, in Step 10 the servlet notifies the customer object of its corresponding CustomerProfile.
现在Customer对象已经为客户实例化和组装起来,第10步servlet告知Customer对象它对应的CustomerProfile。
In Listing 9, I pass an array containing my desired path into my instantiated GroovyScriptEngine, create the old familiar Binding object, and then execute the also familiar Songs.groovy script.
在清单9中,我向实例化的GroovyScriptEngine传入了一个数组,数据中包含我要处理的路径,然后创建大家熟悉的Binding对象,然后再执行仍然很熟悉的Songs . groovy脚本。
You might say that the InitialDirContext object is a wrapper for the DirContext object instantiated by a factory object.
您可能会说InitialDirContext对象是由工厂对象实例化的DirContext对象的包装器。
This bit of code decoded the object and method from a SOAPenvelope, instantiated the local object, and returned the result to be wrapped up in a return SOAP envelope.
这个代码位将SOAP 信封的对象和方法进行解码,实例化本地对象,并返回将会在返回 SOAP 信封中被包装起来的结果。
Each of these classes is a template, and can be instantiated to contain any type of object.
这些类都是模板,它们的实例都可以容纳任何类型的对象。
If you are familiar with the basics of object-oriented programming, you will know that when an object is instantiated, the class constructor function is automatically called.
如果您对面向对象编程语言基本原理比较熟悉,您就知道当一个对象被实例化时,类构造函数被自动调用。
Since intermediate layers can hide the distributed technologies, to tell where an object is really instantiated may be difficult.
由于中间层会将底层的分布式技术隐藏,所以要想知道一个对象的真正的源头是非常困难的。
When we created an extension, we instantiated an object of the new extension's subclass (ExtBrowserWindow), but when using a plug-in you instead use the regular ext JS component you wish to display.
当我们创建了一个扩展时,我们初始化新扩展的子类(ExtBrowserWindow)的一个对象,但是如果使用一个插件时,您使用的是您想要显示的规则ExtJS组件。
In this sample application a PDO object instantiated within the PHP file instantiates the connection with the MySQL database through the MySQL connector.
在这个样例应用程序中,在php文件中实例化的一个pdo对象通过MySQL连接器实例化与MySQL数据库的连接。
You can still enforce a attribute value using a metaclass, you just need to set it on the class object being instantiated rather than as an attribute of the metaclass.
您仍然可以使用元类来增强属性,只需在被实例化的类对象上进行设置,而不是像元类的属性那样。
Isn't "new Array " more consistent with the way every other kind of object is instantiated?
难道“newArray”不是与其它类型对象的实例化方式更一致吗?
In Listing 3, you instantiated a file object for a file that didn't exist.
在清单3中,是为一个不存在的文件实例化了File对象。
For instance, I observed certain SOAP bindings create multiple copies of the SOAP request — with each request instantiated as a String object — for no apparent reason.
比如,我发现某些SOAP绑定创建SOAP请求的多个副本,每个请求都实例化为string对象——这样做并没有明显的理由。
They provide a Python client the ability to set request parameters consisting of UDDI base objects for the instantiated request object.
UDDI请求类使Python客户机具有为实例化的请求对象设置请求参数的能力,请求参数由uddi基对象组成。
When a class that contains an implementation of __invoke is instantiated, you can call the class by specifying parentheses () following an object name.
当包含__invoke实施的类被实例化了,您可通过在对象名的后面指定parentheses()来调用类。
应用推荐