Interface DataObjectIterator<T extends DataObject>

All Superinterfaces:
Iterator<T>
All Known Implementing Classes:
DataObjectIteratorImpl

public interface DataObjectIterator<T extends DataObject> extends Iterator<T>
Extends the standard Iterator with an additional method.

To prevent casting, this iterator provides the addition method nextDataObject() that directly returns a DataObject instead of Object. The functionality is the same like Iterator.next().

The meaning of the other Iterator methods is the same. Attention: many object containers in CAKE does not support the Iterator.remove() method and are throwing an UnsupportedOperationException.

Author:
Rainer Maximini
See Also: