@Override public void write0(int aPosition, PageIOStream aStream) { aStream.writeInt(itsDataBuffer[aPosition]); }
@Override public void read0(int aPosition, PageIOStream aStream) { itsDataBuffer[aPosition] = aStream.readInt(); }
@Override public void clearTuple(PageIOStream aStream) { aStream.writeInt(0); }
@Override public IntTuple readTuple(long aKey, PageIOStream aStream) { return new IntTuple(aKey, aStream.readInt()); }
@Override public int getDataSize() { return PageIOStream.intSize(); }
public void add(long aKey, int aData) { PageIOStream theStream = insertLeafKey(aKey, false); theStream.writeInt(aData); }