- 博客(1)
- 收藏
- 关注
转载 List集合中的对象判断某个对象属性是否重复
/*** 判断List的对象code是否有重复,有重复true*对象和字段自定义* @param orderList* @return*/private Boolean knowledgeIsRepeat(List orderList) {Set set = new TreeSet(new Comparator() {public int compare(Knowledge a, ...
2020-04-27 16:31:48 10098
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人