I'm iterating on an hashtable, concatenating the string values:
Iterator<String> it = jsonHashtableTemp.keySet().iterator();
String json = new String("[");
while (it.hasNext()) {
String s = it.next();
json = json.concat(jsonHashtableTemp.get(s).toString());
if (it.hasNext()) {
json = json.concat(", ");
}
}
json = json.concat("]");
I would to reverse the order of the iteration .
Is it possible?