The function f is type as a function that takes a single input parameter of type View (another class from Android) and returns Unit, which is the Scala equivalent of void.
这个函数f的类型为带一个View 类型(Android中的另一个类)的输入参数的函数,并返回Unit,它是void在Scala 中的对等物。
In particular, the common practice of declaring main with a return type of void is simply incorrect.
尤其是,通常以void为返回类型声明main的习惯是完全错误的。
On the other hand, if the method on the server-side component has a void return type, then you can disregard this optional parameter.
另一方面,如果服务器端组件上的方法具有一个空返回类型,则可以忽略此可选参数。
They have a series of setter and getter methods that look like void setXXX(Type name) and Type getXXX().
它们有一系列的setter和getter方法,这些方法的类似于voidsetXXX(类型名) 和Type getXXX() 。
EasyMock fools the compiler about a lot of things, but it isn't quite smart enough to fool the compiler into believing that void is a legal argument type.
(EasyMock在许多方面能够 “欺骗”编译器,但是还不足以让编译器相信void是有效的参数类型)。
Influences of type, bundle size and content of reinforcement on the void content in composites were also studied.
同时,对增强纤维种类、丝束大小及其含量等对复合材料中空隙含量的影响也进行了研究;
Another issue is that wscompile generates JAX-RPC mappings for the return value (that are described in the wsdl-return-value-mapping elements) for methods with a void return type.
另一个问题是,wscompile为返回类型是void的方法的返回值生成JAX - RPC映射(在wsdl -return - value - mapping元素中描述)。
"Because they're looking to pets to fill a human-type void, they are humanizing the pets, " he says.
“正因为他们饲养宠物以填补生活空白,因此就赋予了宠物更多的人性,”他说。
"Because they're looking to pets to fill a human-type void, they are humanizing the pets, " he says.
“正因为他们饲养宠物以填补生活空白,因此就赋予了宠物更多的人性,”他说。
应用推荐