如何判断一个线程组中的所有线程都运行完毕(如运行至run()方法末尾)?能否直接判断activeCount是否等于0?
解决方案 »
- java写邮件错误
- hibernate 级联删除.... 怎么有那么多delete语句(效率问题)
- 再论继承问题
- 初学JAVA,前辈推荐几本好书,入门级的,可以吗?
- JTable 连接数据库问题
- java访问数据库的问题
- Java 有哪些开发工具?它们各自基于什么操作系统平台?哪个开发工具最好?
- JAVA如何实现将服务器文件自动保存到本地?
- 有关com.borland.datastore.jdbc.DataStoreDriver的问题?
- 我的做好的APPLET中有SWING的组件,我在IE中不能显示出来,请告诉我在哪里下载插件?
- 请问,eclipse启动时显示的那个有其logo的面板是如何实现的阿?谢谢
- 菜鸟问题!!
Returns an estimate of the number of active threads in this thread group. Returns:
the number of active threads in this thread group and in any other thread group that has this thread group as an ancestor.