Package generic.util

Class WrappingPeekableIterator<T>

java.lang.Object
generic.util.WrappingPeekableIterator<T>
Type Parameters:
T - the type of the iterator
All Implemented Interfaces:
PeekableIterator<T>, Iterator<T>

public class WrappingPeekableIterator<T> extends Object implements PeekableIterator<T>
An implementation of PeekableIterator that can take a Java Iterator and wrap it to implement the PeekableIterator interface.