@Override
		public DBRecord next() throws IOException {
			if (hasNext || hasNext()) {
				hasNext = false;
				hasPrev = true;
				lastRecord = record;
				return record;
			}
			return null;
		}
Get the current record leaf.  If the current record can not be found, attempt to 
recover the record position.
@param recoverPrev if true and the current record no longer exists,
the current position will be set to the previous record and isPrev set to true; 
else if false and the current record no longer exists, the current position
will be set to the next record and isNext set to true.
@return LongKeyRecordNode the leaf node containing the current record position
identified by bufferId and recordIndex.  If null, the current record was not found
or the position could not be set to a next/previous record position based upon the
recoverPrev value specified.
@throws IOException thrown if IO error occurs
Ghidra/Framework/DB/src/main/java/db/Table.java