📄 workerlistener.java
字号:
package util;
/**
* <code>WorkerListener</code> is the interface for objects that
* receive notifications about <code>Worker</code> objects and
* their tasks.
*
* @author Jonathan Knudsen
*/
public interface WorkerListener {
/**
* This method is called when an exception occurs within
* a <code>WorkerTask</code>'s <code>run()</code> method.
*/
public void exception(WorkerTask r, Exception e);
/**
* This method is called when the specified <code>WorkerTask</code>'s
* <code>run()</code> method has finished.
*/
public void finished(WorkerTask r);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -