ArrayList, aby ustawić Java 8
Set<Foo> foo = new HashSet<Foo>(myList);
2 Programmers 1 Bug
Set<Foo> foo = new HashSet<Foo>(myList);