📄 workertask.java
字号:
/*
* WorkerTask.java
*
* Created on January 14, 2006, 3:46 PM
*/
package com.dtw.midp.util;
/**
*
* @author psaingtong
*
*
*/
public interface WorkerTask {
/**
* This method is called from within the
* <code>Worker</code>'s thread. Note that this method,
* in constrast to <code>java.lang.Runnable</code>'s
* <code>run()</code>method, may throw an exception.
*/
public void run() throws Exception;
/**
* This method may be called at any time. It is the task's
* responsibility to terminate gracefully.
*/
public void cancel();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -