Sobes.tech
Junior

Ako jedným riadkom previesť ArrayList na HashSet?

sobes.tech AI

Odpoveď od AI

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