What are the considerations of using Iterable
For example, consider implementing a type that is primarily concerned with contai
Many of the collection types existed before IterableIterable
as well as Collection
Personally I would use Iterable
if that allows you to do everything you want it to. It's more flexible for callers, and in particular it lets you do relatively easy filtering/projection/etc using the Google Java Collections (and no doubt similar libraries).