JSONArray ja_title = JSONArray.parseArray(sreTitle.getTitle()); //第一种 ja_title.removeAll(titleList) //第二种 Iterator iter = ja_title.iterator(); while (iter.hasNext()) { String str = (String) iter.next(); if (titleList.contains(str)) { iter.remove(); } }
上一篇 面向对象编程
下一篇 JPA:第一次自动建表时,报错Cant DROP [xxx];check that column/key exists
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号