摘要: package com.example.demo01;import com.thoughtworks.xstream.XStream;import com.thoughtworks.xstream.io.xml.DomDriver;import java.util.Date;/** * 使用xml进 阅读全文
posted @ 2020-11-27 21:14 伤心的鸽子 阅读(153) 评论(0) 推荐(0) 编辑
摘要: package com.example.demo01;import com.fasterxml.jackson.core.JsonFactory;import com.fasterxml.jackson.core.JsonGenerator;import com.fasterxml.jackson. 阅读全文
posted @ 2020-11-27 21:09 伤心的鸽子 阅读(386) 评论(0) 推荐(0) 编辑
摘要: public class TestJavaSerialization { public static void main(String[] args) throws IOException, ClassNotFoundException { Person zhansan = new Person() 阅读全文
posted @ 2020-11-27 21:04 伤心的鸽子 阅读(95) 评论(0) 推荐(0) 编辑
摘要: package com.example.demo01;import java.io.Serializable;import java.util.Date;public class Person implements Serializable { private static final long s 阅读全文
posted @ 2020-11-27 21:00 伤心的鸽子 阅读(18) 评论(0) 推荐(0) 编辑
摘要: package com.stream; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; /** * * @ClassName: TwoListCopare * @Descri 阅读全文
posted @ 2020-11-27 11:54 伤心的鸽子 阅读(3936) 评论(0) 推荐(0) 编辑