返回参数加一,就是这样。
第二,如清单4所示,调用的方法也可以拥有返回参数。
Second, as Listing 4 shows, the invoked method can also have a return parameter.
一个聚合可以有多个参数,这就是为什么要以数组的形式返回参数。
An aggregation can have multiple parameters, which is why this is returned as an array.
当然,这个输入参数包含了来自于原始请求者的输入消息或负载,而返回参数则包含了来自于提供者的响应。
Of course, the input parameter contains the input message, or payload, from the original requestor, while the returned parameter contains the response from the provider.
添加另外一种方法,并将其命名为parse_line,其两个输入参数为—line和argv—以及一个int的返回参数(见于图5)。
Add another method, and name it parse_line, with two input parameters - line and argv - along with a return parameter with int as the type. (see Figure 5).
一般来说,lambda函数接收任何数目的参数,并返回单个表达式的值。
In general, a lambda function is a function that takes any number of arguments and returns the value of a single expression.
这意味着函数可以是其他函数的参数,也可以创建和返回其他函数。
This means that functions can be parameters to other functions and can also create and return other functions.
将函数用作函数的参数,或将函数作为值返回,这些概念属于高阶函数的领域。
Using a function as a function argument, or returning a function as a value, elevates this abstraction into the realm of higher-order functions.
方法的返回类型在参数列表的最后出现。
甚至可以更改参数和返回类型。
使用InOut参数返回多个值。
因此,对于Sybase 12.0版数据源,不能返回输出参数的值。
As a result, for Sybase Version 12.0 data source, you cannot return a value of an output parameter.
Data接口提供执行查询、执行SQLcall语句和返回输出参数的方法。
The data interface provides methods to execute queries, to execute SQL CALL statements, and to return their output parameters.
使用模板返回类型或参数类型的函数。
SQL可以有输入参数,可以返回结果集。
The SQL could have input parameters and could return result sets.
错误代码和消息被作为OUT参数返回给调用者。
The error code and message are returned to the caller as OUT parameters.
为返回值和参数定义XMLserializable类型。
Define XML serializable types for the return value (and the parameters).
查询是一种操作,可以有输入参数,返回一个结果集。
Query is an operation that may have input parameters and that returns a result set.
方法参数和返回类型必须是可序列化的。
The method parameters and return types must be serializable.
该资产类可作为响应由资源方法返回,也可以参数的形式被传递。
This asset class is returned by a resource method as a response or can be passed in as a parameter.
现在,我将试着实现返回给定参数的因子数组的方法,如清单11 中所示
Now, I'll take a shot at implementing the method that returns an array of factors for a given parameter, shown in Listing 11
第三个参数是返回的项的个数。
客户机则将返回值和输出参数解包,然后继续处理。
The client unpacks the return value and out parameters, then continues processing.
不要使用定制类型作为参数或返回值。
pthread_create()子程序使用线程参数返回新的线程ID。
The pthread_create() subroutine returns the new thread ID using a thread argument.
我们甚至还为您展示了使用InOut参数返回多个值的方法。
We have even shown you how to return multiple values using InOut parameters.
务必知道,服务接口的方法参数、返回类型和异常必须符合JAX - WS和EJB规范。
It is important to know that the service interface's method arguments, return types, and exceptions must conform to JAX-WS and EJB specifications.
如果没有指定past参数,那么返回所有消息。
If no past parameter is specified, then all of the messages are returned.
这将确定需要传送的参数和应该返回的数据。
This determines which parameters you need to pass in and what the return should be.
联邦存储过程也可以有输入参数,并返回至多一个结果集。
Federated stored procedures may have input parameters and can return up to one result set.
应用推荐