if (rowNum >= rows.size()) { return false; } row = (Object[])rows.get(rowNum); rowNum++; if (row != null) copyToSQLVAR(row); return row != null;
if (isEmpty) return false; else if(rowNum == rows.size()) { row = null; rowNum = 0; isAfterLast = true; return false; } else { rowNum++; if (rowNum == 1) isFirst = true; if (rowNum == rows.size()) isLast = true; row = (Object[])rows.get(rowNum-1); copyToSQLVAR(row);  return true; }
        public boolean next() throws SQLException {            log.debug("FBResultSet next - FBCachedFetcher");            if (rowNum >= rows.size()) {                return false;            }            row = (Object[])rows.get(rowNum);            rowNum++;            if (row != null)                copyToSQLVAR(row);            return row != null;        }