Package com.ocs.dynamo.domain.query
Interface DataSetIterator<ID extends Serializable,T extends AbstractEntity<ID>>
-
- Type Parameters:
ID- the type of the primary key of the entityT- the type of the entity
- All Known Implementing Classes:
FixedDataSetIterator,PagingDataSetIterator
public interface DataSetIterator<ID extends Serializable,T extends AbstractEntity<ID>>Interface for an iterator that iterators over a set of entities using paging- Author:
- Bas Rutten
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tnext()Returns the next entityintsize()Returns the total number of entities
-
-
-
Method Detail
-
next
T next()
Returns the next entity- Returns:
-
size
int size()
Returns the total number of entities- Returns:
-
-