scanner.init(registry, builder);
return;
default:
Union logOp = new Union(null, false);
ROP parentUnion = new UnionROP(logOp);
ScanROP[] scanners = new ScanROP[readEntries.size()];
int i = 0;
for (ReadEntry e : readEntries) {
scanners[i] = new ScanROP(scan, e, engine);
scanners[i].init(registry, builder);
i++;
}
parentUnion.init(registry, builder);
registry.swap(logOp, scan); // make it so future things point to the union as the original scans.
return;
}
}