I have an ArrayList, and I want to remove repeated strings from it. How can I do this?
ArrayList
You can also do it this way, and preserve order:
// delete duplicates (if any) from 'myArrayList' myArrayList = new ArrayList(new LinkedHashSet(myArrayList));