[java] How to maintain a Unique List in Java?