public void setNextRecord(int record, int nextRecord) throws IOException {
    markDirty();
    myStorage.putInt(getOffset(record, NEXT_RECORD_OFFSET), nextRecord);
  }
public void setNextRecord(int record, int nextRecord)