/**
  * @param iterable
  * @param pagingStrategy
  */
 protected IterablePager(final Iterator<E> iterator, final PagingStrategy pagingStrategy) {
   super(pagingStrategy);
   ValidationUtil.validateNotNull("iterator", iterator);
   this.iterator = iterator;
 }
 /**
  * A factory method - instantiate pager from an iterable object.
  *
  * @param iterable
  * @param pagingStrategy
  */
 public static <E> IterablePager<E> newInstance(
     final Iterable<E> iterable, final PagingStrategy pagingStrategy) {
   ValidationUtil.validateNotNull("iterable", iterable);
   return newInstance(iterable.iterator(), pagingStrategy);
 }