1、

For example, if you wish to use multiple threads, implement the Runnable interface rather than extending the Thread class.

举例来说,如果你希望使用多线程,实现Runnable接口比扩展Thread类好。

互联网摘选

2、

The connection factory singleton could have been extended with a Runnable interface to provide a connection close on inactivity timeout.

独立连接工厂可以使用Runnable接口进行扩展,以提供基于非活动超时的连接关闭。

互联网摘选

3、

The thread could be implemented by using runnable interface or by inheriting from the Thread class.

线程可以执行调用可运行接口或从线程类继续.前者是较为有利.

互联网摘选

4、

The thread could be implemented by runnable interface or by inheriting from the Thread class.

线程可以执行调用可运行接口或从线程类继承.前者是较为有利.

互联网摘选

5、

The Executor interface has a single method execute() that accepts the Runnable parameter.

Executor接口有一个execute()方法,它接受Runnable参数。

互联网摘选

6、

The Executor interface accepts Runnable objects to execute.

Executor接口接受Runnable对象并执行。

互联网摘选

  • 今日热词
  • 热门搜索

英语网英语词典(dict.25820.com)为您提供在线翻译英语词典单词大全英译汉汉译英等英语服务!可按单词字数词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈