public interface SkippingIterator<V> extends Iterator<V>
Iterator.next()
repeatedly.void skip(int n)
Iterator. If there are less than n elements remaining,
this skips all remaining elements in the Iterator. This method has the same effect as calling
Iterator.next() n times, except that it will never throw NoSuchElementException.Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.