public static String parenthesesSpeelChar(List<String> list) {
String str = "[";
String quotes = "'";
if (list != null && list.size() > 0) {
for (int i = list.size() - 1; i >= 0; i--) {
if (i != 0) {
str += quotes + list.get(i) + quotes + ",";
} else {
str += quotes + list.get(i) + quotes;
}
}
}
str += "]";
return str;
}