第二,如清单4所示,调用的方法也可以拥有返回参数。
Second, as Listing 4 shows, the invoked method can also have a return parameter.
清单17包含一系列项目,作为Vector数据类型,它是返回参数。
Listing 17 contains a list of items as a Vector data type, which is the return parameter.
一个聚合可以有多个参数,这就是为什么要以数组的形式返回参数。
An aggregation can have multiple parameters, which is why this is returned as an array.
要注意,语言类型返回参数不翻译用户输入的内容;它翻译标准标签或与此内容相关的UI。
It is important to note that the language type return parameter doesn’t translate the user-contributed content; however, it does translate the standard labels or UI associated with this content.
当然,这个输入参数包含了来自于原始请求者的输入消息或负载,而返回参数则包含了来自于提供者的响应。
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.
例如,toUpper服务带有一个叫做operand的参数,并且返回参数uri所表示的资源的大写形式。
For example, the toUpper service takes a single parameter named operand and returns the upper case transformation of the resource identified by the URI supplied as the argument.
添加另外一种方法,并将其命名为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).
客户机则将返回值和输出参数解包,然后继续处理。
The client unpacks the return value and out parameters, then continues processing.
不要使用定制类型作为参数或返回值。
我们可以使用参数绑定来绑定方法参数,返回类型和异常,以及我们希望的目标。
We can use argument binding to bind method parameters, return types and exceptions as well as targets if we wish.
正如您所知道的,接口操作需要描述业务数据(从操作发送或返回到操作)的参数。
As you know, an interface operation requires parameters that describe the business data that is sent from or returned to the operation.
不要使用变量或货币数据类型作为参数或返回值。
Do not use variants or the currency data type as parameters or return values.
方法参数和返回类型必须是可序列化的。
The method parameters and return types must be serializable.
联邦存储过程也可以有输入参数,并返回至多一个结果集。
Federated stored procedures may have input parameters and can return up to one result set.
另外,如果一个资源表示需要被返回,在回复的消息头部中会申明一个返回队列参数。
In addition, if a resource representation should be returned, a return queue parameter is specified in the header.
查询是一种操作,可以有输入参数,返回一个结果集。
Query is an operation that may have input parameters and that returns a result set.
这些连接参数指示工厂返回的连接的性质。
These connection parameters dictate the nature of the connections returned from the factory.
该资产类可作为响应由资源方法返回,也可以参数的形式被传递。
This asset class is returned by a resource method as a response or can be passed in as a parameter.
服务需要从外部客户端接收输入参数,并将输出参数返回到它,同时在WSDL 中对此进行定义。
The service needs to receive input parameters from the external client and return output parameters to it and define this in WSDL.
SQL可以有输入参数,可以返回结果集。
The SQL could have input parameters and could return result sets.
服务器也必须为在响应客户机时使用的返回值和参数执行相同操作。
The server must do the same for the return value and the parameters that will be used in the response to the client.
构造函数没有参数,并且返回的类型实例中的所有属性都为空。
The constructor function has no parameters and returns an instance of the type with all of its attributes set to null values.
务必知道,服务接口的方法参数、返回类型和异常必须符合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.
服务器只是将请求中的参数解包,执行运算,将返回值和输出参数打包,然后向客户机发回响应。
The server simply unpacks the parameters of the request, performs the operation, packages up the return value and out parameters, and sends the response back to the client.
查询结果在消息中返回;可以在一个传入参数中指定要返回的结果数量。
The query results are returned in a message; the maximum number of results to be returned can be specified in an inbound parameter.
为返回值和参数定义XMLserializable类型。
Define XML serializable types for the return value (and the parameters).
您所看到的应该是getcwd()函数完整的清单以及这个重要的C 函数需要的和返回的参数清单。
What you should see is a complete listing of the getcwd() function and a listing of the arguments that this important C function requires and returns.
我们甚至还为您展示了使用InOut参数返回多个值的方法。
We have even shown you how to return multiple values using InOut parameters.
模板函数GetMul,它使用模板类型的参数,还有返回类型。
A template function GetMul with template type arguments and a return type as well.
我们定义了一个方法叫double,接受一个Int参数,返回unit。
We defined a method named double that takes an Int argument and returns Unit.
应用推荐