摘要: public class HungrySingleton { private HungrySingleton() { } private static HungrySingleton hungrySingleton = new HungrySingleton(); public static HungrySingleton getInstance(){ ... 阅读全文
posted @ 2019-10-12 15:53 zfzf1 阅读(161) 评论(0) 推荐(0) 编辑
摘要: public class ServerSocketTest { public static void main(String[] args) { try { ServerSocket serverSocket = new ServerSocket(9999); ExecutorService executorService... 阅读全文
posted @ 2019-10-12 15:42 zfzf1 阅读(237) 评论(0) 推荐(0) 编辑