public class AbstractIteratorDecorator extends Object implements Iterator
All methods are forwarded to the decorated iterator.
Modifier and Type | Field and Description |
---|---|
protected Iterator |
iterator
The iterator being decorated
|
Constructor and Description |
---|
AbstractIteratorDecorator(Iterator iterator)
Constructor that decorates the specified iterator.
|
protected final Iterator iterator
public AbstractIteratorDecorator(Iterator iterator)
iterator
- the iterator to decorate, must not be nullIllegalArgumentException
- if the collection is nullprotected Iterator getIterator()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.