First page Back Continue Last page Graphics
OutBuffer
Class OutBuffer
{
// create an outbuffer that holds at most
// blocksize records and appends to file.
public Buffer(String file, int blocksize);
// cause the entire block to be written
private overflow();
// cause what the currently held records to
// writeen
public flush();
// add a record to the buffered block
public write(SomeClass record);
}