会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
CKben
CnBlogs
Home
New Post
Contact
Admin
Subscription
2020年7月17日
记录 之-- java 的一些小技巧
静态构造方法 静态构造方法的语义和简化程度真的高于直接去 new 一个对象。比如 new 一个 List 对象,过去的使用是这样的: List<String> list = new ArrayList<>(); Guava 中的创建方式: List<String> list = Lists.newA
Read More
posted @ 2020-07-17 09:53 AlexZS
Views(122)
Comments(0)
Diggs(0)
公告