change arraylist to hashSet or TreeSet

Printable View