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