📄 deamonthread.java
字号:
/*
* Created on 2005-1-17
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.icbcsdc.ddlexp.ui.dialog;
/**
* @author zhangp
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class DeamonThread extends Thread {
protected boolean running=true;
//protected DeamonRunnable runnable=null;
public boolean isRunning(){
return running;
}
/**
*
*/
public DeamonThread() {
super();
// TODO Auto-generated constructor stub
//this.runnable=runnable;
}
/**
* @param target
*/
public DeamonThread(Runnable target) {
super(target);
// TODO Auto-generated constructor stub
//this.runnable=runnable;
}
/**
* @param name
*/
public DeamonThread(String name) {
super(name);
// TODO Auto-generated constructor stub
//this.runnable=runnable;
}
/**
* @param group
* @param target
*/
public DeamonThread(ThreadGroup group, Runnable target) {
super(group, target);
// TODO Auto-generated constructor stub
//this.runnable=runnable;
}
/**
* @param target
* @param name
*/
public DeamonThread(Runnable target, String name) {
super(target, name);
// TODO Auto-generated constructor stub
//this.runnable=runnable;
}
/**
* @param group
* @param name
*/
public DeamonThread(ThreadGroup group, String name) {
super(group, name);
// TODO Auto-generated constructor stub
//this.runnable=runnable;
}
/**
* @param group
* @param target
* @param name
*/
public DeamonThread(ThreadGroup group, Runnable target, String name) {
super(group, target, name);
// TODO Auto-generated constructor stub
// this.runnable=runnable;
}
/**
* @param group
* @param target
* @param name
* @param stackSize
*/
public DeamonThread(ThreadGroup group, Runnable target, String name,
long stackSize) {
super(group, target, name, stackSize);
// TODO Auto-generated constructor stub
// this.runnable=runnable;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -