How to change ArrayList to HashSet in Java Example

Quick way to convert ArrayList to Set in java with simple example , though its worth noting that all those method will eat duplicates silently and sizhttp://javarevisited.blogspot.com/2012/01/convert-arraylist-to-set-java-example.html

Description:

Quick way to convert ArrayList to Set in java with simple example, though its worth noting that all those method will eat duplicates silently and size of converted set might be less than or equal to original list. More detail...