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