Class CopyingIterator<E>

  • Type Parameters:
    E - The type of the element returned by the iterator.
    All Implemented Interfaces:
    Iterable<E>, Iterator<E>

    @Internal
    public class CopyingIterator<E>
    extends Object
    implements Iterator<E>, Iterable<E>
    Wraps an iterator to return deep copies of the original iterator's elements.