raf.writeLong(freeSpacePage);
raf.writeInt(freeList.size()); FreeSpace freeSpace; for (Iterator i = freeList.iterator(); i.hasNext();) { freeSpace = (FreeSpace) i.next(); raf.writeLong(freeSpace.getPage()); raf.writeInt(freeSpace.getFree()); }
		public void write(java.io.RandomAccessFile raf) throws IOException {			Page fp = null;			if (freeSpacePage < 0)				try {					fp = getFreePage();					fp.getPageHeader().setStatus(FREE_LIST);					freeSpacePage = fp.getPageNum();					fp.write();				} catch (IOException ioe) {					LOG.debug(ioe);				} else				fp = getPage(freeSpacePage);			saveFreeSpaceList(fp);			super.write(raf);			raf.writeLong(lastDataPage);			raf.writeLong(freeSpacePage);		}