Class PagingIterator<E>

  • All Implemented Interfaces:
    Iterator<E>

    public class PagingIterator<E>
    extends Object
    implements Iterator<E>
    A wrapper iterator to supports paging.

    If you have access to Collection 4.1, it is recommended to use IteratorUtils#boundedIterator(Iterator, long, long) instead.

    • Constructor Detail

    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<E>
      • next

        public E next()
        Specified by:
        next in interface Iterator<E>
      • remove

        public void remove()
        Specified by:
        remove in interface Iterator<E>