通常按值传递参数,除非希望过程能够更改其在调用代码中的值。
Normally you pass a parameter by value, unless you want the procedure to be able to change its value in the calling code.
重要事项对于引用类型,按值传递参数会得到对所传递对象的引用的副本。
For reference types, if you pass a parameter by value, it results in a copy of the reference to an object being passed.
前面的段落展示如何通过参数和返回值传递信息,引用另一个序列图。
The previous section showed how to reference another sequence diagram by passing information through parameters and return values.
将这些值拷贝到传递给这个函数的行参数中。
Copy the values to the formal parameters passed to this function.
如果您更改了方法,以通过方法参数传递输入值,那么该方法就可以得到通用的应用了。
If you change the method to pass input values via the method arguments, the method can be used generically.
通过调用相同名称的客户端以及将值作为第一个参数传递给该方法,来指定每个参数。
Each parameter is specified by calling a client method with the same name and by passing the value to the method as first argument.
区别在于,使用递归函数极少被迫修改任何一个变量——只需要将新值作为参数传递给下一次函数调用。
The difference is that with recursive functions, you rarely have to modify any variable — you just pass the new values as parameters to the next function call.
如果不断向模板堆栈中传递值,就意味着可能需要使用通道参数。
If you pass values repeatedly down the template stack, that suggests that you want tunnel parameters.
确认了发送数据的传感器之后,将使用方法第二个参数传递的浮点值数组中所包含的数据更新相应的ui元素。
Once the sending sensor is identified, the appropriate UI elements are updated with data contained in the array of float values passed as the second argument to the method.
当将这些值作为参数传递时,请确保它们是格式良好的XML文档。
While passing the values as a parameter, make sure that the documents are well formed XML documents.
属性的新值被作为一个参数传递给选中的行为。
The new value of the property is passed as a parameter to the action selected.
这个值以命令行参数的形式传递给测试用例。
You pass this value as a command-line parameter to the test case.
参数被视为传递到查询的值,对查询本身的结构没有影响。
Parameters are viewed as values that are passed to the query, that have no effect on the structure of the query itself.
这种语句专用于不需要传递任何值作为参数的sql语句。
It is specifically used for the SQL statements where you don't need to pass any value as a parameter.
来回传递的SOAP消息是参数集合和返回值的XML编码表示。
The SOAP messages that are passed back and forth are XML-encoded representations of a collection of arguments and return values.
Facesportlet主要是使用JS p中的参数将行为名称和值传递到这个行为请求中。
Faces portlets typically pass the action name and value into the action request using a parameter in the JSP.
前置条件和后置条件方法可以看到作为函数参数 (args)传递的值。
The pre-condition and post-condition methods can also see the values passed as function arguments (args).
在Parameters对话框中,要定义哪个值将被传递给之前定义的AssocReport的产品参数。
In the Parameters dialog, you will define which value is passed to the product parameter of the previously defined AssocReport.
VXML中的submit标记将字段值作为标准HTTP参数传递给一个指定的远程应用程序。
The submit tag within VXML passes on the field values to a specified remote application as standard HTTP parameters.
新的语法只要求给 print()函数的关键字参数file传递一个值就可以了。
The new syntax is now to simply pass in a value to the keyword argument file in the print() function. For example
学习至今,您知道了Groovy闭包是代码块,可以被引用、带参数、作为方法参数传递、作为返回值从方法调用返回。
From your studies so far, you know that Groovy closures are code blocks that can be referenced, parameterized, passed as a method parameter, and delivered as the return value from a method call.
基于sendit函数传递的值初始化各种参数。
Initializes various parameters based on the values passed by the sendit function.
添加两个值,将其分别作为参数x和y传递到Servlet。
The two values to add are passed as parameters x and y to the servlet.
IllegalArgumentError在每次认为参数无效时抛出,例如,将null值作为参数传递给方法。
IllegalArgumentError is thrown every time an argument is not considered valid, for example, when a null value is passed to a method as a parameter.
portlet类通过request参数向viewjsp传递值。
Your portlet class passes values to the view JSP via the request parameters.
每个都可以赋值给一个变量,作为参数传递,或作为返回值从函数中返回。
Each can be assigned to a variable, passed as an argument, or returned from a function. For instance, here's an example of storing a function.
传递给CLIAPI参数的值。
同样,这些值也可以作为参数传递给脚本。
Similarly even values can be passed as arguments to the scripts.
当通过导入和导出调用SCA组件时,参数通过值进行传递。
When invoking SCA components through imports and exports, parameters are passed by-value.
当通过导入和导出调用SCA组件时,参数通过值进行传递。
When invoking SCA components through imports and exports, parameters are passed by-value.
应用推荐