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