Sobes.tech
Junior

Kako jednim redom pretvoriti ArrayList u HashSet?

sobes.tech АИ

Одговор од АИ

// Kreiranje HashSet iz ArrayList
HashSet<String> set = new HashSet<>(arrayList);