Sobes.tech
Junior

Jak jednym wierszem przekształcić ArrayList w HashSet?

sobes.tech AI

Odpowiedź od AI

// Tworzenie HashSet z ArrayList
HashSet<String> set = new HashSet<>(arrayList);