for (Iterator<?> it = forClasses.iterator(); it.hasNext(); ) {
Iterator<FacetSet> fsi = this._facets.getFacetSetIterator((Resource) it.next());
if (null != fsi) {
while (fsi.hasNext()) {
for (Iterator<Facet> fi = fsi.next().facetIterator(); fi.hasNext(); ) {
Facet nextF = fi.next();
if (!out.contains(nextF))
out.add(nextF.getIdentifier());
}
}
}
}
}