Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iterators for Basetype collections #23

Closed
CodaFi opened this issue Apr 14, 2013 · 2 comments
Closed

Iterators for Basetype collections #23

CodaFi opened this issue Apr 14, 2013 · 2 comments

Comments

@CodaFi
Copy link
Member

CodaFi commented Apr 14, 2013

No description provided.

@dinhvh
Copy link
Member

dinhvh commented Apr 14, 2013

any API proposal?

@CodaFi
Copy link
Member Author

CodaFi commented Apr 14, 2013

Maybe a pointer to an ObjectEnumerator. Like Old-School ObjC before we had for-in:

HashMap * map = new HashMap();
ObjectEnumerator * mapEnumerator = map->ObjectEnumerator();
Object * next = NULL;
while ((next = mapEnumerator->next()) != NULL) {
    //Do Stuff
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants