com.phoenixst.collections
public class LoggingIterator extends Object implements Iterator
Iterator
which wraps another to provide logging
support.
Since: 1.0
Version: $Revision: 1.9 $
Constructor Summary | |
---|---|
LoggingIterator(Iterator delegate)
Creates a new LoggingIterator which
logs to a category corresponding to this class at
the DEBUG level. | |
LoggingIterator(Iterator delegate, Logger logger)
Creates a new LoggingIterator which uses
the specified log at the DEBUG level. | |
LoggingIterator(Iterator delegate, Logger logger, Level level)
Creates a new LoggingIterator . |
Method Summary | |
---|---|
protected Iterator | getDelegate()
Provides access to internal state so it can be used
by extensions of this class. |
protected Level | getLevel()
Provides access to internal state so it can be used
by extensions of this class. |
protected Logger | getLogger()
Provides access to internal state so it can be used
by extensions of this class. |
boolean | hasNext() |
Object | next() |
void | remove() |
LoggingIterator
which
logs to a category corresponding to this class at
the DEBUG level.LoggingIterator
which uses
the specified log at the DEBUG level.LoggingIterator
.