/** * Move to the next position in the scan. * * @see org.apache.derby.iapi.store.access.ScanController#next */ public boolean next() throws StandardException { current = sortBuffer.removeFirst(); if (current != null) mergeARow(sortBuffer.getLastAux()); return (current != null); }