netbeans4.0beta2,手里的工具只有这个可以试试1.5了,1.5的concurrent也很强悍啊,很方便.
package jdk5;
import Java.util.*;
import java.util.concurrent.*;
import static test.Constants.FIRST;
/** @author zzzhc
*/
public class Main {
public static enum firstEnum {one,two};
/** Creates a new instance of Main * */
private Main() {
}
static int count = 0;
static Object lock = new Object();
/**
* @param args the command line arguments
*/
public static void main(String[] arg...[ 查看全文 ]