dsto.dfc.collections
Class BasicMonitoredCollection.CollectionIteratorWrapper
java.lang.Object
dsto.dfc.collections.BasicMonitoredCollection.CollectionIteratorWrapper
- All Implemented Interfaces:
- Iterator
- Direct Known Subclasses:
- BasicMonitoredList.ListIteratorWrapper
- Enclosing class:
- BasicMonitoredCollection
protected class BasicMonitoredCollection.CollectionIteratorWrapper
- extends Object
- implements Iterator
Wraps an iterator to catch remove () operations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iterator
protected Iterator iterator
current
protected Object current
BasicMonitoredCollection.CollectionIteratorWrapper
public BasicMonitoredCollection.CollectionIteratorWrapper()
BasicMonitoredCollection.CollectionIteratorWrapper
public BasicMonitoredCollection.CollectionIteratorWrapper(Iterator iterator)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator
Copyright © 2008 Commonwealth of Australia