标签:style blog ar color sp for java on div
函数boolean containsAny(String str, String searchChars) 判断str字符串中是否包含searchChars字符串
String khh_str = ""; if(list.size()>0){ khh_str = "(‘"; for (int i = 0; i < list.size(); i++) { String now_khh = list.get(i).getKhh().trim(); if(!khh_str.contains(now_khh)){ if(i>0){ khh_str += "‘,‘"; } khh_str += now_khh; } } khh_str += "‘)"; }
标签:style blog ar color sp for java on div
原文地址:http://www.cnblogs.com/mingforyou/p/4166496.html