摘要: public class TestSync implements Runnable { Timer timer = new Timer(); public static void main(String[] args) { TestSync test = new TestS... 阅读全文
posted @ 2013-12-08 16:42 小尼人00 阅读(179) 评论(0) 推荐(0) 编辑
摘要: public class TestPriority { public static void main(String[] args) { Thread t1 = new Thread(new T1()); Thread t2 = new Thread(new T2(... 阅读全文
posted @ 2013-12-08 15:08 小尼人00 阅读(109) 评论(0) 推荐(0) 编辑
摘要: -- 阅读全文
posted @ 2013-12-08 13:45 小尼人00 阅读(111) 评论(0) 推荐(0) 编辑
摘要: eclipse调整格式快捷键 与 搜狗输入法里的切换简繁快捷键是ctrl+shift+F跟eclipse冲突了。关闭搜狗输入法快捷键即可。public class TestThread1 { public static void main(String args[]) { Run... 阅读全文
posted @ 2013-12-08 09:29 小尼人00 阅读(163) 评论(0) 推荐(0) 编辑