Revision 31217
Added by Michele Artini over 9 years ago
ResultSetListener.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.enabling.resultset.listener; |
2 | 2 |
|
3 |
import eu.dnetlib.enabling.resultset.rmi.ResultSetException; |
|
4 |
|
|
5 |
|
|
3 | 6 |
/** |
4 | 7 |
* @author michele |
5 | 8 |
* |
6 | 9 |
*/ |
7 | 10 |
public interface ResultSetListener<T> { |
8 | 11 |
boolean hasNext(); |
9 |
T next(); |
|
12 |
T next() throws ResultSetException; |
|
13 |
int getCount(); |
|
14 |
int getTotal(); |
|
10 | 15 |
Class<T> getResultClass(); |
11 | 16 |
} |
Also available in: Unified diff
partial implementation