Don't consider Collection that allows duplicates. The easiest method to eliminate duplicated elements is to attach the contents to a Set (which will not allow duplicates) and then add the Set back to the ArrayList:
Set<String> set = new HashSet<>(yourList);
this will end the ordering of the elements in the ArrayList.
Hope this Helps. Cheers..!!