while (iterator.hasNext()) {
final Long mid = iterator.next();
if (readableIndex.isSubmoleculeOfParentID(1L, mid)) {
Molecule m = handler.createMolecule(1L, mid);
if (m != null && moleculeComparator.compare(molecule, m) == 0) {
AddMoleculeToIndex amti = new AddMoleculeToIndex(writableIndex, localizer);
amti.handleTriple(rootTriple);
return molecule.add(rootTriple);
}
}
}
} finally {