I have an ArrayList with a number of entries, and I want to reverse the order or the characters, so if my code looks like this:
public class Test {
ArrayList<String> aa = new ArrayList<String>();
aa.add("hello");
aa.add("goodbye");
(reverse them in some way)
}
Then what I want the ArrayList to contain is:
olleh
eybdoog
I've only managed to change the order of the entries in the entire ArrayList with Collections.reverse, but that really doesn't do what I want to.