Ejemplo n.º 1
0
 /** Changes the record of what block follows the specified one. */
 @Override
 protected void setNextBlock(final int offset, final int nextBlock) {
   BATBlockAndIndex bai = getBATBlockAndIndex(offset);
   bai.getBlock().setValueAt(bai.getIndex(), nextBlock);
 }
Ejemplo n.º 2
0
 /** Works out what block follows the specified one. */
 @Override
 protected int getNextBlock(final int offset) {
   BATBlockAndIndex bai = getBATBlockAndIndex(offset);
   return bai.getBlock().getValueAt(bai.getIndex());
 }