随笔分类 -  JAVA

摘要:1.在gradle-wrapper.properties添加下面内容 org.gradle.jvmargs=-Dfile.encoding=UTF-8 2.点击help->edit custom vm options添加下面内容 -Dfile.encoding=UTF-8 3.打开sutdio64. 阅读全文
posted @ 2021-08-27 14:23 小家猫 阅读(449) 评论(0) 推荐(0) 编辑
摘要:准备 定义两个类用于测试拷贝,类内容如下,目的是深拷贝一个User类的对象: @Data @Accessors(chain = true) public class User { private Integer id; private Integer age; private String name 阅读全文
posted @ 2021-07-15 00:27 小家猫 阅读(9704) 评论(0) 推荐(2) 编辑
摘要:Lambda表达式官方描述: One issue with anonymous classes is that if the implementation of your anonymous class is very simple, such as an interface that contai 阅读全文
posted @ 2021-07-13 10:49 小家猫 阅读(189) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示