public Object firstRow() throws SQLException {
  List rows=rows();
  if (rows.isEmpty())   return null;
  return (rows.get(0));
}

public Object firstRow ( ) throws SQLException { List rows = rows ( ) ; if ( rows . isEmpty ( ) ) return null ; return ( rows . get ( 0 ) ) ; }
returns the first row from a dataset ' s underlying table
