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 中的对等物。
Every method of the main interface has a matching entry in the asynchronous interface, but with a return type of void and an additional argument of class AsyncCallback.
主接口的每种方法在异步接口中都有相匹配的条目,但是附带了void返回类型和asynccallback类的附加参数。
Calling the class static void main (String args) directly won't work as expected, because it would invoke System.exit and so terminate the Workbench.
直接调用类staticvoidmain (Stringargs)不会如预期一样工作,因为它将调用System . exit终止Workbench。
When the menu name you defined in the label of your extension point is called, the public void run (IAction arg0) method of the object extending the LiveNameActionDelegate class is invoked.
在调用扩展点的标签中定义的菜单名时,将调用扩展personaction类的对象的publicvoid runWithEvent (Eventarg0)方法。
public void setDefaultAssertionStatus(boolean enabled): This method sets the default status for packages and classes loaded by the class loader.
publicvoidsetDefaultAssertionStatus(booleanenabled) :该方法设置由类装入器装入的包和类的缺省状态。
The agent JAR file USES a special manifest attribute to specify the actual agent class, which must define a method public static void premain (String options, Instrumentation inst).
代理JAR文件使用一个特殊的清单属性来指定实际的代理类,这必须定义一个方法:publicstaticvoid premain (Stringoptions,Instrumentation inst)。
Eclipse generates the new class with default return values for non-void methods.
eclipse为非void的方法产生带有默认返回值的新类。
public void clearAssertionStatus(): This method resets all package and class settings to false, and then resets the class loader to setting false also.
publicvoid clearAssertionStatus() :该方法将所有包和类的设置重设为false,然后将类装入器也重设为 false。
Enter AntSample as the name of the class and check the box next to public static void main (String args) under the question Which method stubs would you like to create?
输入AntSample作为此类的名称,并选中Whichmethodstubs wouldyouliketo create ?问题下publicstaticvoidmain (Stringargs)旁边的复选框。
Note that this pointer is declared as "void, " because we will return arbitrary base class pointers through this parameter.
注意这个指针声明为“void”,因为我们会通过这个参数返回任意的基类指针。
Note that this pointer is declared as "void, " because we will return arbitrary base class pointers through this parameter.
注意这个指针声明为“void”,因为我们会通过这个参数返回任意的基类指针。
应用推荐