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