What are the considerations of using Iterable vs. Collection in Java?
For example, consider implementing a type that is primarily concerned with contai
According to the principle of least surprise, you should emulate the Java collection pattern and take a Collection constructor arg. It will make the people who come after you slightly less puzzled.