How to convert an Array to a Set in Java How to convert an Array to a Set in Java java java