I have an ArrayList, and I want to remove repeated strings from it. How can I do this?
ArrayList
There is also ImmutableSet from Guava as an option (here is the documentation):
ImmutableSet.copyOf(list);