随笔 - 166  文章 - 0 评论 - 8 阅读 - 22万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

09 2022 档案
Optional的常见用法
摘要:1. public class Boy { private Girl girl; @Override public String toString() { return "Boy{" + "girl=" + girl + '}'; } public Girl getGirl() { return g 阅读全文
posted @ 2022-09-12 17:20 从精通到陌生 阅读(168) 评论(0) 推荐(0) 编辑
Stream API的使用
摘要:测试数据: public class EmployeeData { public static List<Employee> getEmployees(){ List<Employee> list = new ArrayList<>(); list.add(new Employee(1001, "马 阅读全文
posted @ 2022-09-11 18:24 从精通到陌生 阅读(72) 评论(0) 推荐(0) 编辑

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