Overloaded methods can sometimes require an explicit return type.
重载的方法有时候也需要显式返回类型。
The calling method needs a return type annotation.
主调用的方法必须有一个返回类型的注解。
Whatever happened to the return type of lambda functions?
lambda函数的返回类型怎么处理?
A method descriptor just combines field descriptors to specify the parameter types and return type of a method.
方法描述符结合了字段描述符,以指定方法的参数类型和返回类型。
A return type and a single parameter are set for UML operation that represents a unary operator.
表示单目运算符的UML操作还设置有返回类型和一个参数。
As for the return type, for some services this might be a simple string — for others it might be an XML document.
至于返回类型,对某些服务来说它可能是一个简单的字符串—对其它服务来说它则可能是一个XML文档。
When one such method calls another, we have to add a return type to the one doing the calling, as in this example.
当一个这样的方法调用另外一个时,我们必须给调用者加上返回类型,如下面的例子。
In Listing 17, the return type of the lambda function is a Boolean.
在清单17中,lambda函数的返回类型是Boolean。
The return type of the method declaration indicates in what object format the results of the SQL statement will be returned.
方法声明的返回类型表明sql语句的结果返回什么样的对象格式。
The return type of the method is the bean that is registered to Spring application context.
该方法的返回类型是向Spring应用程序上下文注册的bean。
And among others, a StoredProcedureResult return type conveniently encapsulates the results of a stored procedure call.
除了其他格式外,StoredProcedureResult返回类型可以方便地封装存储过程调用的结果。
In particular, the common practice of declaring main with a return type of void is simply incorrect.
尤其是,通常以void为返回类型声明main的习惯是完全错误的。
This puts them in alphabetical order using a CCompletionProposalComparator and removes proposals that have the same name and return type.
使用CCompletionProposalComparator将这些建议按字母表顺序排序,并删除掉有相同名称和返回类型的建议。
A good example of this is the BCPMethodReturnCheck detector — it looks for places where the return type of various methods are suspiciously ignored.
它的一个好例子是BCPMethodReturnCheck检测器——它查找那些不同方法的返回类型有可能被忽略的地方。
Sometimes we may want to retrieve the contained Pane with a getter, but we'd like the return type of the getter to be as specific as possible.
有时我们想用getter检索被包含的Pane ,但是希望 getter的返回类型尽可能具体些。
To change it to produce instances of our case class AST hierarchy (Expr objects), the return type of the combinators has to be changed to be Parser[Expr].
要将它更改为生成case类AST层次结构的实例(Expr对象),组合子的返回类型必须更改为Parser[Expr]。
Only rules that return the appropriate content type are listed (Figure 41).
只列出返回适当内容类型的规则(图41)。
Do not use variants or the currency data type as parameters or return values.
不要使用变量或货币数据类型作为参数或返回值。
Constructor injection USES a constructor to determine what type of concrete object to return.
构造函数注入利用构造函数判断要返回的具体对象类型。
A new local variable of the same type as the method's return value is created for you.
系统将为您创建与该方法的返回值类型相同的新局部变量。
Prototype actually adds some extra methods to the return object, depending on its type, as you will see later.
实际上,根据对象类型,Prototype会向返回对象添加一些额外的方法(稍后介绍)。
This is where the converter must convert the request string value into the desired object type, and then return the object for storage in the corresponding JSF component.
转换器必须在这里将请求字符串转换为所需的对象类型,然后返回这个对象,将它存储在相应的JSF组件中。
If it doesn't have either of the two, the server walks the list sequentially until it finds a MIME type that it can return.
如果两者都没有的话,服务器会在列表中逐个查找,直到找到一个可以返回的MIME类型。
In case the user's choice of news type was invalid, the model would return an error code, rather than the headlines.
在用户选择的新闻类型无效的情况下,模型将返回一个错误代码,而不是返回标题。
The types of the parameters of the method are listed inside of the parentheses, and the type of the return value is listed at the end.
参数类型列于圆括号中,在最后列出了返回值的类型。
Another option for returning arrays is to return them as parts of a complex data type, which is a technique we discuss in the next article.
返回数组的另一种选择是将数组作为复杂数据类型的组成部分返回,该技巧我们将在下一篇文章中进行讨论。
So, for example, by specifying the return object as a type "json", jQuery will automatically convert the response String from a server into a json object, allowing you to reference it immediately.
所以,例如通过将返回对象指定为“json ”类型,jQuery将能自动将来自服务器的响应字符串转换成json对象,使您能够立即引用它。
Lines of code in DSLs frequently start with a quantity, call some intermediate methods to get work done, and eventually return an instance of the interesting final type.
DSL中很多代码行经常以数量开始,调用一些中间方法来完成工作并最终返回有趣的最后一个类型的实例。
Obviously, the caller should be aware of the type of adapter interface it expects the selection to return.
显然,调用者应该知道它期望选择返回的适配器接口类型。
SOAP guarantees that a return value will be available directly in the corresponding native type in a particular platform.
SOAP保证,返回值将以一个特定平台中的对应原生类型直接可用。
应用推荐