Re: Issue 227 in google-collections: Add Iterables.fromIterator()

14 views
Skip to first unread message

codesite...@google.com

unread,
Dec 1, 2009, 1:07:12 PM12/1/09
to google-coll...@googlegroups.com

Comment #7 on issue 227 by marius.scurtescu: Add Iterables.fromIterator()
http://code.google.com/p/google-collections/issues/detail?id=227

Looking forward to see that FAQ entry as well.

I also think the forIterator and forEnumeration methods would be extremely
useful when
writing for loops. The generated Iterator could simply throw
IllegalStateException on
subsequent calls to iterator().

While I agree that such an interable is limited, but perfectly valid in for
loops where
it will be mostly used, I cannot see how it breaks the Iterable contract.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Jan 5, 2010, 8:23:32 PM1/5/10
to google-coll...@googlegroups.com

Comment #8 on issue 227 by gili.tzabari: Add Iterables.fromIterator()
http://code.google.com/p/google-collections/issues/detail?id=227

Now that version 1.0 is out you have plenty of time to write up that FAQ
entry you
were mentioning :) Please post a link when it's ready.

Reply all
Reply to author
Forward
0 new messages