Entwurfsmuster - Iterator (Forts.)
private class InventoryIterator implements
InventoryIteratorIF{
public boolean hasNextInventoryItem(){
...
}
public InventoryItem getNextInventoryItem(){
...
}
...
} // class InventoryIterator
} // class InventoryCollection
Vorherige Folie
Nächste Folie
Zurück zur ersten Folie
Graphik-Version anzeigen