Easiest way to convert a List to a Set in Java

Set<Foo> foo = new HashSet<Foo>(myList);

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)