Interface DataSetIterator<ID extends Serializable,​T extends AbstractEntity<ID>>

  • Type Parameters:
    ID - the type of the primary key of the entity
    T - 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 Detail

      • next

        T next()
        Returns the next entity
        Returns:
      • size

        int size()
        Returns the total number of entities
        Returns: