Most common way to do it:
HashSet<ArrayList<String>> set = assingYourSet();
for (Iterator iterator = set.iterator(); iterator.hasNext();) {
ArrayList<String> arrayList = (ArrayList<String>) iterator.next();
// Do Stuff...
}
1
solved getting ArrayList from HashSet [closed]