//數組轉List
數組
List<String> objStr_0_List = Arrays.asList(objArr[0].split("#,#"));ide
//List集合去除重複元素,不打亂順序spa
private List<String> getNon_repeatList(List<String> Str_List) {get
List<String> resultList = new ArrayList<String>();it
Set set = new HashSet();class
for(String s:Str_List){List
if(set.add(s)){集合
resultList.add(s);di
}view
}
return resultList;
}