Interface PeekableLongIterator

All Superinterfaces:
Cloneable, LongIterator

public interface PeekableLongIterator extends LongIterator
Simple extension to the IntIterator interface. It allows you to "skip" values using the advanceIfNeeded method, and to look at the value without advancing (peekNext). This richer interface enables efficient algorithms over iterators of longs.