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);
yourList.clear();
yourList.addAll(set);
this will end the ordering of the elements in the ArrayList.
Hope this Helps. Cheers..!!