• Consider the main method in Listing 3.

    检查清单3中的main方法。

    youdao

  • Listing 10. New code for the main method.

    清单10.main方法的新代码。

    youdao

  • What happens when you run the main method?

    运行主方法时发生什么情况?

    youdao

  • Be sure to add the listener in the main method.

    确保在main方法中添加一个侦听器。

    youdao

  • Take, for example, the main method in the class in Listing 8.

    我们以清单8中那个类的main方法为例。

    youdao

  • And, of course, add a call to the routine in the main method.

    当然,还要在main方法中添加对例程的调用。

    youdao

  • Testing the main method does not work with all applications.

    测试main方法并不作用于所有的应用程序。

    youdao

  • This has to be configured in the main method of our application.

    这只能在应用程序的main方法中配置。

    youdao

  • Add a line to the main method creating a Vector called names.

    在main方法中加入一行代码,创建名为names的Vector。

    youdao

  • Listing 4 gives a sample run of the main method from Listing 1.

    清单4给出了清单1中的main方法的运行示例。

    youdao

  • In the main method, we have created an instance of this class.

    我们在main方法中创建了这个类的实例。

    youdao

  • The class definition and the main method are shown in Listing 14.

    类定义和main方法如清单14所示。

    youdao

  • Since all the code is in the main method, it will execute by default.

    由于所有代码都在main方法中,因此它将默认执行。

    youdao

  • Now, when the main method runs, the output looks like that in Listing 6.

    现在,main方法运行时,输出如清单6所示。

    youdao

  • Notice the cast needed in the third line of the body of the main method.

    请注意main方法主体部分的第三行中需要进行的数据类型转换。

    youdao

  • Now all you need to do is add code to the main method to delete any posts older than 30 days.

    现在只需要把代码添加到main方法中来删除发布超过30天的所有post。

    youdao

  • Now, when you run the main method, the Automobile object's toString output looks like Listing 8.

    现在,运行main方法,Automobile对象的toString输出如清单8所示。

    youdao

  • It's the main thread that is implicitly created on process startup and executes the main method.

    它是启动过程中隐式创建的主线程,执行main方法。

    youdao

  • Next, we need to add some code to the main method to instantiate the class and run the SWT code.

    接着,我们需要向main方法添加一些代码,以便实例化该类并且运行SWT代码。

    youdao

  • Here, we have a class called Hello, where the main method merely creates an ApplicationWindow, then opens it.

    这里我们创建了一个名为Hello的类,其中main方法仅仅创建了一个ApplicationWindow,然后打开它。

    youdao

  • The static initializer runs first, as the class is loaded, followed by the main method (which is also static).

    加载类之后,静态初始化器首先运行,紧接着运行的是main方法(也是静态的)。

    youdao

  • To enable sorting of the columns, you must add the following code to the main method before calling the Shell.open method.

    要对列启用排序功能,您必须在调用Shell . open方法前向main方法中添加以下代码。

    youdao

  • Not surprisingly, the run method contains the code I wrote to create new instances of those objects and the main method calls the run method.

    不用惊讶,run方法包含我编写的、用来创建这些对象的新实例的代码,而main方法则调用run方法。

    youdao

  • That lock method would be called at the end of the main method before any start lifecycle were invoked and would very effectively prevent misuse.

    应该在main方法结束的地方、调用任何启动生命周期方法之前调用lock方法锁定服务定位器,这样可以有效地防止误用。

    youdao

  • You can use the newly created look and feel in any Swing application by invoking the following line in the main method before the first widget is created.

    通过在main方法中第一个窗口小部件创建之前调用下面一行代码,您便可以在任何Swing应用程序中使用新创建的lookandfeel。

    youdao

  • The traditional classroom teaching is often criticized with its weakness, but classroom teaching wil still be the main method of school teaching in the near future.

    传统的课堂教学因其固有的弱点而经常遭到批评。然而,在可预见的将来,课堂教学仍然会是学校教学活动的主要方式。

    youdao

  • The events life cycle and the data binding that work on the core XML data provide the main method to process different elements within the Rich Web Application Backplane.

    针对核心XML数据的事件生命周期和数据绑定提供了在RichWebApplication Backplane中处理不同元素的主要方法。

    youdao

  • The DB2 optimizer USES catalog statistics to determine the best access path, and the main method employed to update these catalog statistics is to run the RUNSTATS utility.

    DB 2优化器使用目录统计信息来确定最佳的访问路径,而更新这些目录统计信息所采用的主要方法就是运行RUNSTATS实用程序。

    youdao

  • The idea is that in a boot-like place (the main method?) it is populated with appropriate instances for the service names, and that unit tests can program it with a mix of real and mock instances.

    其思想是在程序的入口(main方法?) ,把与服务名对应的实例填充进服务定位器,单元测试的时候可以混合使用真实或模拟的实例来填充。

    youdao

  • The main method is simple.

    main方法非常简单。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定