If you need runtime polymorphism, you must not use pass-by-value.
如果你需要运行时多态,你不能使用按值传递。
However, you must be aware that these alternatives change the semantics of the interaction from pass-by-value to pass-by-reference.
然而,您必须注意到这些可供选择的方案会将交互方法从按值传递(pass - by - value)改变为按引用传递(pass - by - reference)。
So what does pass-by-value actually mean? To answer this, it's instructive to look at some JVM1 bytecodes that result from the following two commands.
那值传递到底是什么意思?要回答这个疑问,有须要看一下运行以下两行命令后的JVM的字节码。
We also pass the post data in the postdata object (specified as an object containing key/value pairs by using gadgets.io.encodeValues() to format the input args).
我们还要传递postdata对象(被指定为包括键/值对的一个对象,通过使用 gadgets.io.encodeValues()格式化输入args)内的post数据。
You can improve the value of your business processes asset by importing the WebSphere business Modeler models into Rational Software Architect to pass the knowledge to your development team.
您可以通过将WebSphereBusiness Modeler模型导入到Rational SoftwareArchitect之中,将知识传递到您的开发团队,从而提高业务处理过程资产的价值。
As you can see from the output (Listing 2), the perror function displays the string you pass to it, followed by a colon, a space, and then the textual representation of the current errno value.
正如您可以从输出(清单2)中看到的,perror函数显示了传递给它的字符串,后跟冒号、空格,接着是当前errno值的文字表示形式。
If the EJB client and EJB modules are mapped to different application server instances (often referred to as split-tier), then the EJB modules must be invoked remotely using pass by value semantics.
如果EJB客户机和EJB模块被映射到不同的应用服务器实例(通常表示为split - tier),则必须使用通过值传递的语义来远程调用EJB模块。
The Object Request Broker (ORB) pass by reference option determines if pass by reference or pass by value semantics should be used when handling parameter objects involved in an EJB request.
ObjectRequestBroker (ORB)通过引用传递选项确定,在处理EJB 请求中涉及的参数对象时应该使用通过引用传递还是通过值传递语义。
Providing a copy of the content is similar to using "pass by value."
提供内容的一个副本与使用“通过值传递(pass by value)”很相似。
The enable-call-by-reference element is generally used to pass parameters by reference rather than by value, which requires making a copy of the parameters.
enable-call-by-reference元素通常用于按引用传递参数,而不是按值传递,后者需要对参数做复制。
The toroidal core was excited by sharp pulse current. The sensor circuit is composed of peak value detector, Butterworth low-pass filter and differential amplifier.
磁芯采用高频脉冲电流励磁,信号处理电路由峰值检波、低通滤波及差动电路构成。
With pass by value, any change to the parameter is not reflected in the calling routine. Those who have used pass by reference will probably find this confusing.
参数按值传递的话,任何对该参数的修改都不会反射到调用这个方法的程序,使用按引用传递参数的人可能对这一点搞到困惑。
Value investors are students of the game; they learn from every pitch, those at which they swing and those they let pass by.
价投者就是比赛的学习者,不论击中与否,他们都从每一次挥棒中学习经验。
Objective To study the diagnostic value of cardiac function determination by list mode first pass in combination with myocardial perfusion imaging at ATP stress in coronary artery disease.
目的探讨在ATP负荷下联合应用表模式采集首次通过心功能测定与心肌灌注显像诊断冠心病的价值。
For reference types, if you pass a parameter by value, it results in a copy of the reference to an object being passed.
重要事项对于引用类型,按值传递参数会得到对所传递对象的引用的副本。
Normally you pass a parameter by value, unless you want the procedure to be able to change its value in the calling code.
通常按值传递参数,除非希望过程能够更改其在调用代码中的值。
Describes how to pass multidimensional arrays of integers by value and how to pass one-dimensional arrays by reference.
描述如何通过值传递多维整数数组以及如何通过引用传递一维数组。
Generally we pass them by value as a copy. So we cannot change them.
一般情况下,我们是传递变量值的一份拷贝,因而无法改变变量的值。
Describes how to pass classes by value, how to pass various structures, and how to pass unions with value and mixed types.
描述如何通过值传递类,如何传递各种结构以及如何传递具有值和混合类型的联合。
Describes how to pass strings by value, by reference, in structures, in classes, and in arrays.
描述如何通过值、通过引用、在结构中、在类中和在数组中传递字符串。
If you want to protect a structure against such modification, pass it by value.
如果要保护结构,避免这种修改,可通过值来传递结构。
When you pass a reference-type parameter by value, it is possible to change the data pointed to by the reference, such as the value of a class member.
以传值方式传递参考型别参数时,它有可能会变更到参考指到的资料,例如类别成员的值。
As a by-pass product of steel plant, blast furnace gas (BFG) is a kind of low heat value fuel.
高炉煤气是钢铁冶金行业生产过程的副产品,是一种低热值燃料。
As a by-pass product of steel plant, blast furnace gas (BFG) is a kind of low heat value fuel.
高炉煤气是钢铁冶金行业生产过程的副产品,是一种低热值燃料。
应用推荐