if (queryContext.isHideAlreadyInstalled()) {
Collector filteredCollection = new Collector();
for (Iterator itr = collector.iterator(); itr.hasNext();) {
IInstallableUnit iu = (IInstallableUnit) itr.next();
Collector tmpCollector = profile.query(new InstallableUnitQuery(iu.getId()), new Collector(), null);
if (tmpCollector.size() == 0) {
filteredCollection.accept(iu);
continue;
}
Iterator iter = tmpCollector.iterator();