/** * Returns the next value of the cursor */ long next() throws IOException { if (current == 0) current = pageman.getFirst(type); else current = pageman.getNext(current); return current; }
/** * Returns the next value of the cursor. */ long next() throws IOException { if ( current == 0 ) { current = pageman.getFirst( type ); } else { current = pageman.getNext( current ); } return current; }
/** * Returns the next value of the cursor. */ long next() throws IOException { if ( current == 0 ) { current = pageman.getFirst( type ); } else { current = pageman.getNext( current ); } return current; }
/** * @return the next blockId */ long next() throws IOException { if ( blockId == 0 ) { blockId = pageManager.getFirst( type ); } else { blockId = pageManager.getNext( blockId ); } return blockId; }
header.setFirstOf(Magic.FREE_PAGE, getNext(retval));
header.setFirstOf( Magic.FREE_PAGE, getNext( retval ) );
header.setFirstOf( Magic.FREE_PAGE, getNext( retval ) );
header.setFirstOf( Magic.FREE_PAGE, getNext( freeBlock ) );