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);
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;
        public boolean next() throws SQLException {			   isBeforeFirst = false;			   isFirst = false;				isLast = false;				isAfterLast = false;				            log.debug("FBResultSet next - FBCachedFetcher");				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;				}        }