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 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.
方法描述符结合了字段描述符,以指定方法的参数类型和返回类型。
Because a replicated entity can be stored in more than one slices, the policy interface is similar to Data Distribution policy, but differs in terms of the return type.
由于一个复制了的项可被存储在多个片内,此策略接口类似于数据分布策略,但在返回类型方面有所差异。
In most cases, the return type of the method can be inferred, so the ':' and return type can be omitted.
在大多数情况下,方法的返回类型可以被推断,所以“:”和返回类型可以被省略。
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.
重载的方法有时候也需要显式返回类型。
The final scenario can be subtle, when a more general return type is inferred than what you expected.
最后的一种场景的关系可能比较微妙,比你期望的类型更通用的类型可能会被推断返回。
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.
最终返回类型不通过任意异步服务接口或实现类指定,允许您选择任意可序列化的返回数据类型。
The formal parameters of the C# indexer become the parameters of the corresponding UML operation and the type of the indexer becomes the return type of the UML operation.
C#索引器的形式参数成为相应的UML操作的参数,而索引器的类型成为 UML 操作的返回类型。
ERANGE — You've called a function, and the return value is too large to be represented by the return type.
ERANGE:您已调用函数,但返回值太大而无法通过返回类型来呈现。
This puts them in alphabetical order using a CCompletionProposalComparator and removes proposals that have the same name and return type.
使用CCompletionProposalComparator将这些建议按字母表顺序排序,并删除掉有相同名称和返回类型的建议。
Also note how all the calls have been made asynchronous, meaning they have a void return type.
另外还要注意,所有调用实现异步的方式,这说明这些调用拥有void返回类型。
And among others, a StoredProcedureResult return type conveniently encapsulates the results of a stored procedure call.
除了其他格式外,StoredProcedureResult返回类型可以方便地封装存储过程调用的结果。
Since the second joiner method calls the first, it requires an explicit String return type.
因为第二个jioner方法调用了第一个,它需要一个显示的String返回类型。
A good example of this is the BCPMethodReturnCheck detector — it looks for places where the return type of various methods are suspiciously ignored.
它的一个好例子是BCPMethodReturnCheck检测器——它查找那些不同方法的返回类型有可能被忽略的地方。
In particular, the common practice of declaring main with a return type of void is simply incorrect.
尤其是,通常以void为返回类型声明main的习惯是完全错误的。
The return type of the method is the bean that is registered to Spring application context.
该方法的返回类型是向Spring应用程序上下文注册的bean。
Whatever happened to the return type of lambda functions?
lambda函数的返回类型怎么处理?
The annotation specifies the generic return type Class
该标注指定泛型返回类型Class
A UML operation op with, an int as the return type.
一个UML操作,并且以一个int作为返回值类型。
Create a UML class class1 and add an operation op with return type int to it.
创建一个uml类class1,并且向其添加一个操作op,其返回值类型为int。
Evaluate (Object item) : STRING — shorthand for evaluate (item, XPathConstants.STRING); note that the return type is already known.
evaluate (Objectitem):STRING是evaluate (item,XPathConstants . STRING)的缩写形式,注意返回类型是已知的。
应用推荐