Class AbstractIteratorDecorator
- java.lang.Object
-
- org.apache.commons.collections.iterators.AbstractIteratorDecorator
-
- All Implemented Interfaces:
java.util.Iterator
public class AbstractIteratorDecorator extends java.lang.Object implements java.util.Iterator
Provides basic behaviour for decorating an iterator with extra functionality.All methods are forwarded to the decorated iterator.
- Since:
- Commons Collections 3.0
-
-
Constructor Summary
Constructors Constructor Description AbstractIteratorDecorator(java.util.Iterator iterator)
Constructor that decorates the specified iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
java.lang.Object
next()
void
remove()
-