摘要: import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; public class FightAgainstLandlord { public static void main(String[] args) { //... 阅读全文
posted @ 2019-07-01 21:35 reyinever 阅读(337) 评论(0) 推荐(0) 编辑
摘要: public class RunnableImpDemo implements Runnable { @Override public void run() { System.out.println(Thread.currentThread().getName()); } } import java.util.concurrent.ExecutorSe... 阅读全文
posted @ 2019-07-01 21:31 reyinever 阅读(180) 评论(0) 推荐(0) 编辑
摘要: import java.io.File; public class GetFilesOfDir { public static void main(String[] args) { //创建文件对象,传入要遍历的目录 File f = new File("E:\\abc\\abc\\t"); getAllFile(f); } ... 阅读全文
posted @ 2019-07-01 21:28 reyinever 阅读(468) 评论(0) 推荐(0) 编辑