public boolean isLast() throws SQLException {
      int saveCursorPos = cursorPos;
      int saveAbsoluteCursorPos = absolutePos;
      boolean saveShowDeleted = getShowDeleted();
      setShowDeleted(true);
      internalLast();
      if (cursorPos == saveCursorPos) {
         setShowDeleted(saveShowDeleted);
         return true;
      } else {
         setShowDeleted(saveShowDeleted);
         cursorPos = saveCursorPos;
         absolutePos = saveAbsoluteCursorPos;
         return false;
      }
   }
Indicates whether the cursor is on the last row in this
<code>StreamingRowSetImpl</code> object.
<P>
Note: Calling the method <code>isLast</code> may be expensive
because the JDBC driver might need to fetch ahead one row in order
to determine whether the current row is the last row in this rowset.

@return <code>true</code> if the cursor is on the last row;
        <code>false</code> otherwise or if this rowset contains no rows
@throws SQLException if an error occurs
src/main/java/org/replicadb/rowset/StreamingRowSetImpl.java