Added the ResultManager#exists
method
This commit is contained in:
parent
59705367ed
commit
2e5f651afa
@ -128,6 +128,14 @@ public class ResultManager {
|
|||||||
return count;
|
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
|
* Get a List of all Results
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user