When we write libraries or frameworks, we sometimes have a class Foo whose constructor takes a Collection of Bars, where the Bars will be supplied by dependents.
When we write libraries or frameworks, we sometimes have a class Foo whose constructor takes a Collection of Bars, where the Bars will be supplied by dependents.