Interface DataObjectIterator<T extends DataObject>

All Superinterfaces:
All Known Implementing Classes:

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

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.

Rainer Maximini
See Also: