2022年6月11日

generic-泛型理解和使用

摘要: 1- 泛型的理解 /* 1- 泛型的"抽象理解": 就像(公共厕所的图标,他规定了--男士去哪,女生去哪),男士进男厕所,女生进女厕所 > 对应String去String,Integer去Integer 2- 泛型的"体验": 1- 泛型的体验 --请看Test1和Test2,的对比实验 3- 在集 阅读全文

posted @ 2022-06-11 18:04 陈嘻嘻- 阅读(79) 评论(0) 推荐(0) 编辑

Collections的理解和使用

摘要: Collections 注:Collection 和 Collections --> 不是一个东西,不要搞混了 - 1- 对Collection 和 Collections两个的理解: ####1- Collection是接口,Collection接口的意义是:为各种具体的集合,提供了最大化的统一操 阅读全文

posted @ 2022-06-11 15:25 陈嘻嘻- 阅读(186) 评论(0) 推荐(0) 编辑

导航