workerlistener.java
来自「由Jonathan Knudsen开发的移动电话RSS阅读器.」· Java 代码 · 共 22 行
JAVA
22 行
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 + =
减小字号Ctrl + -
显示快捷键?