When one such method calls another, we have to add a return type to the one doing the calling, as in this example.
当一个这样的方法调用另外一个时,我们必须给调用者加上返回类型,如下面的例子。
One must therefore take into account both the expected return type and the data model when deciding how to cast the object that this method returns.
因此在决定如何对该方法的返回值进行强制类型转换时,必须同时考虑预期的返回类型和所用的数据模型。
As for the return type, for some services this might be a simple string — for others it might be an XML document.
至于返回类型,对某些服务来说它可能是一个简单的字符串—对其它服务来说它则可能是一个XML文档。
The method return type appears after the argument list.
方法的返回类型在参数列表的最后出现。
The signature of the method also defines a CLR return type, which takes the deserialized XML content from the service response.
这个方法的签名还定义了一个CLR返回类型,它从服务响应中反序列化出xml内容。
A method descriptor just combines field descriptors to specify the parameter types and return type of a method.
方法描述符结合了字段描述符,以指定方法的参数类型和返回类型。
In most cases, the return type of the method can be inferred, so the ':' and return type can be omitted.
在大多数情况下,方法的返回类型可以被推断,所以“:”和返回类型可以被省略。
Recursive methods also require an explicit return type.
递归方法也需要显式的返回类型。
You can also use the template parameter T for an attribute’s type, in the same way as it was used for the method’s return type.
您也可以使用模板参数T来定义一个属性类型,用同样的方式它也可以用作定义该种方式的回转类型。
The third pinpoints methods with a void return type.
第三个用来确定一个空返回类型。
The data type for the function return type can be specified directly or using the REFERENCES clause.
函数返回类型的数据类型可以直接指定,或使用references子句指定。
Overloaded methods can sometimes require an explicit return type.
重载的方法有时候也需要显式返回类型。
Notice that on this method, as well as all of the others, you do not need to declare a return type.
注意,在这个方法上,以及任何其他方法上,不需要声明返回类型。
The final scenario can be subtle, when a more general return type is inferred than what you expected.
最后的一种场景的关系可能比较微妙,比你期望的类型更通用的类型可能会被推断返回。
Collection return type is supported.
支持集合返回类型。
A return type and a single parameter are set for UML operation that represents a unary operator.
表示单目运算符的UML操作还设置有返回类型和一个参数。
The return type of the method declaration indicates in what object format the results of the SQL statement will be returned.
方法声明的返回类型表明sql语句的结果返回什么样的对象格式。
The calling method needs a return type annotation.
主调用的方法必须有一个返回类型的注解。
The eventual return type is not specified by any of the asynchronous service interfaces or implementation classes, leaving the return type your choice, which can be any serializable data type.
最终返回类型不通过任意异步服务接口或实现类指定,允许您选择任意可序列化的返回数据类型。
ERANGE — You've called a function, and the return value is too large to be represented by the return type.
ERANGE:您已调用函数,但返回值太大而无法通过返回类型来呈现。
Also note how all the calls have been made asynchronous, meaning they have a void return type.
另外还要注意,所有调用实现异步的方式,这说明这些调用拥有void返回类型。
Specify String as the return type for each of the methods.
指定String作为每个方法的返回类型。
And among others, a StoredProcedureResult return type conveniently encapsulates the results of a stored procedure call.
除了其他格式外,StoredProcedureResult返回类型可以方便地封装存储过程调用的结果。
Enumeration return type for finders.
finder 的枚举返回类型。
Since the second joiner method calls the first, it requires an explicit String return type.
因为第二个jioner方法调用了第一个,它需要一个显示的String返回类型。
In particular, the common practice of declaring main with a return type of void is simply incorrect.
尤其是,通常以void为返回类型声明main的习惯是完全错误的。
Let's remove the: Int return type on the nested fact method.
让我们来删除嵌套的fact方法的:Int返回类型。
The return type of the method is the bean that is registered to Spring application context.
该方法的返回类型是向Spring应用程序上下文注册的bean。
Set the return type of the operation as Point structure.
将操作的返回类型设置为Point结构。
Whatever happened to the return type of lambda functions?
lambda函数的返回类型怎么处理?
应用推荐