判断String中是否有重复
String s = "1;2;3;4;5;6;"
private boolean isunique(String s) {
String[] paramArr = s.substring(1, s.length()).split(";");
Set<String> set = new HashSet<String>();
for (String c : paramArr) {
set.add(c);
}
return (set.size() == paramArr.length);
}