• In the constructor of StockQuoteGenerator class, which is a singleton class, we are starting a new thread and assigning a Runnable object to that thread.

    在stockquotegenerator类(一个单态类)的构造函数中,我们启动了一个新线程,并向该线程分配了一个Runnable对象。

    youdao

  • With a preallocated Runnable object and a separate scope, you should always be in a position to report a problem without using any memory in the context the error occurred.

    通过一个预先分配的Runnable对象和一个单独的作用域,在错误发生时,您就应该总是能够报告问题,而无需使用任何内存。

    youdao

  • The framework is easy to use for most benchmarking needs: just package the target code into some type of task object (either a Callable or Runnable) and then make a single call to the benchmark class.

    这个框架很容易满足大多数基准测试需求:只要把目标代码打包成特定类型的任务对象(Callable或Runnable),然后调用benchmark类。

    youdao

  • If your task is a Runnable, make sure that the computation is used to calculate some internal state that is used by task's toString method (which must override the one from Object).

    如果任务是Runnable,就要确保任务的toString方法(这个方法必须覆盖object对象的方法)使用的某个内部状态是用这个计算获得的。

    youdao

  • If your task is a Runnable, make sure that the computation is used to calculate some internal state that is used by task's toString method (which must override the one from Object).

    如果任务是Runnable,就要确保任务的toString方法(这个方法必须覆盖object对象的方法)使用的某个内部状态是用这个计算获得的。

    youdao

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

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

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