⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 threadwatch.java

📁 jpeg2000编解码
💻 JAVA
字号:
package gui;/**  * This class is used to watch a thread termination (for instance * Decoder or Encoder instance) and finally notifies the ThreadSurvey * instance. */public class ThreadWatch implements Runnable {    /** Reference to the object using this ThreadWatch */    private ThreadSurvey src = null;    /** Reference to the thread to watch */    private Thread thread = null;    /** Class constructor */    public ThreadWatch(ThreadSurvey src,Thread thread) {	this.src = src;	this.thread = thread;    }        /** Thread's starting method */    public void run() {	thread.run();	src.terminatedThread();    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -