java.lang.Object |
↳ |
org.apache.commons.collections.iterators.AbstractIteratorDecorator |
Known Direct Subclasses
|
Class Overview
Provides basic behaviour for decorating an iterator with extra functionality.
All methods are forwarded to the decorated iterator.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.util.Iterator
abstract
boolean
|
hasNext()
|
abstract
E
|
next()
|
abstract
void
|
remove()
|
|
Fields
protected
final
Iterator
iterator
The iterator being decorated
Public Constructors
public
AbstractIteratorDecorator
(Iterator iterator)
Constructor that decorates the specified iterator.
Parameters
iterator
| the iterator to decorate, must not be null |
Public Methods
public
boolean
hasNext
()
Protected Methods
protected
Iterator
getIterator
()
Gets the iterator being decorated.