I have developed an array list.
ArrayList list = new ArrayList(); list.add(\"1\"); list.add(\"2\"); list.add(\"3\"); list.add(\"
You can use a set in the first place or convert into it:
Set set = new TreeSet(list);