会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ganrui~~~
博客园
首页
新随笔
联系
订阅
管理
2021年12月30日
集合clear()方法
摘要: list.clear()//清空集合里的元素 List<List<Integer>> list=new ArrayList<>();List<Integer> res=new ArrayList<>();res.add(1);res.add(2);list.add(res);//此时list 的值为
阅读全文
posted @ 2021-12-30 20:03 ganrui~~~
阅读(198)
评论(0)
推荐(0)
公告