isFirst()

Syntax:

boolean isFirst()
                throws SQLException

Description:

Retrieves whether the cursor is on the first row of this ResultSet object.

Returns:

true if the cursor is on the first row; false otherwise

Throws:

SQLException - if a database access error occurs or this method is called on a closed result set

Reference:

For more information, reference JDBC documentation for: ResultSet.isFirst()