Interface IPageIterable<T>

Type Parameters:
T - the type of elements returned by the iterator
All Superinterfaces:
Iterable<T>
All Known Subinterfaces:
IHistoryTranslationProvider.ITranslationResult, IScopedTranslationProvider.IScopedTranslationResult
All Known Implementing Classes:
BaseTranslationProvider.TranslationResult

public interface IPageIterable<T> extends Iterable<T>
Extended iterable interface that supports an iterator with step specified by page size.
  • Method Summary

    Modifier and Type
    Method
    Description
    iterator(int pageSize)
    Returns an iterator over elements of type T with step specified by page size.

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • iterator

      Iterator<T> iterator(int pageSize)
      Returns an iterator over elements of type T with step specified by page size.
      Parameters:
      pageSize - the size of pages
      Returns:
      an iterator