in.close();
if (virtualOffsets.size() < 2)
throw new IOException(
"Invalid splitting BAM index: "+
"should contain at least 1 offset and the file size");
<BUG>}
public Long prevAlignment(final long filePos) {</BUG>
return virtualOffsets.floor(filePos << 16);
}
public Long nextAlignment(final long filePos) {

in.close();
if (virtualOffsets.size() < 2)
throw new IOException(
"Invalid splitting BAM index: "+
"should contain at least 1 offset and the file size");
}
public List<Long> getVirtualOffsets() {
return new ArrayList<>(virtualOffsets);
}
public Long prevAlignment(final long filePos) {
return virtualOffsets.floor(filePos << 16);
}
public Long nextAlignment(final long filePos) {
