UML for Iterator pattern