if(iterators.length == 0)
throw new ReviewedGATKException("Tried to add zero elements to an existing file pointer.");
Map.Entry<SAMReaderID,SAMFileSpan> initialElement = iterators[0].next();
GATKBAMFileSpan fileSpan = (GATKBAMFileSpan)initialElement.getValue();
for(int i = 1; i < iterators.length; i++)
fileSpan = fileSpan.union((GATKBAMFileSpan)iterators[i].next().getValue());
combined.addFileSpans(initialElement.getKey(),fileSpan);
}
/**
* Efficiently generate the union of the n FilePointers passed in. Much more efficient than