随笔分类 -  Java

摘要:基于子类的动态代理 阅读全文
posted @ 2020-10-25 14:39 享受折腾 阅读(72) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-05 21:40 享受折腾 阅读(128) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-05 20:38 享受折腾 阅读(95) 评论(0) 推荐(0)
摘要:1 import com.mysql.jdbc.Connection; 2 import com.mysql.jdbc.Statement; 3 4 import java.io.FileReader; 5 import java.io.IOException; 6 import java.net. 阅读全文
posted @ 2020-10-05 16:52 享受折腾 阅读(101) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-04 14:45 享受折腾 阅读(146) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-04 11:25 享受折腾 阅读(81) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-04 10:24 享受折腾 阅读(125) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-03 16:51 享受折腾 阅读(78) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-03 13:58 享受折腾 阅读(84) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-03 12:05 享受折腾 阅读(98) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-02 14:12 享受折腾 阅读(119) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-02 11:48 享受折腾 阅读(218) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-09-30 14:03 享受折腾 阅读(107) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-09-30 08:49 享受折腾 阅读(102) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-09-29 20:40 享受折腾 阅读(1291) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-09-29 13:53 享受折腾 阅读(211) 评论(0) 推荐(0)
摘要:1 @FunctionalInterface 2 public interface MyFun { 3 void method(); 4 } 5 6 public class MyFunImpl implements MyFun { 7 @Override 8 public void method( 阅读全文
posted @ 2020-09-29 08:41 享受折腾 阅读(316) 评论(0) 推荐(0)
摘要:1 public class ServerDemo { 2 public static void main(String[] args) throws IOException { 3 ServerSocket server = new ServerSocket(8888); 4 while (tru 阅读全文
posted @ 2020-09-27 16:20 享受折腾 阅读(339) 评论(0) 推荐(0)
摘要:序列化运行时将每个可序列化的类与称为serialVersionUID的版本号相关联,该序列号在反序列化期间用于验证序列化对象的发送者和接收者是否已加载与该序列化兼容的对象的类。 如果接收方加载了一个具有不同于相应发件人类的serialVersionUID的对象的类,则反序列化将导致InvalidCl 阅读全文
posted @ 2020-09-27 15:57 享受折腾 阅读(259) 评论(0) 推荐(0)
摘要:1 public class StreamDemo { 2 public static void main(String[] args) throws IOException { 3 InputStreamReader isr = new InputStreamReader(new FileInpu 阅读全文
posted @ 2020-09-27 10:07 享受折腾 阅读(130) 评论(0) 推荐(0)