Added the ResultManager#exists method

This commit is contained in:
mathias 2021-08-19 17:00:57 +02:00
parent 59705367ed
commit 2e5f651afa
No known key found for this signature in database
GPG Key ID: 8950DF62139C852A

View File

@ -128,6 +128,14 @@ public class ResultManager {
return count;
}
/**
* Checks if the current result exists
* @return <code>true</code> if the current result exists, otherwise <code>false</code>
*/
public boolean exists() {
return getRowCount() != 0;
}
/**
* Get a List of all Results
*