- 博客(5)
- 收藏
- 关注
原创 判断一个集合/数组中是否有重复元素(JDK1.7及以下版本)
1.如果是数组转为List集合 List<String> lists = Arrays.asList( String[] );2.利用Set集合无序不可重复的特性 1>新建一个set集合 Set<String> set = new HashSet<String>();2.循环往这个set集...
2018-12-07 10:38:09 883
原创 数组/List集合判断是否有交集--retainAll()
1.数组转为List集合 Arrays.asList(postCodeOld.split(","))2.List集合转为HashSet集合 HashSet<String> set = new HashSet<String>(Arrays.asList(postCodeOld.split(",")));3. H...
2018-12-05 21:00:46 8941
原创 java.sql.SQLRecoverableException: 无法从套接字读取更多的数据
解决方案:1>在PLSQL执行alter system set "_optim_peek_user_binds"=false,2>重启一下服务器;
2018-12-03 16:45:34 15293
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人