I want my wonderful
moviesDirectedBy
method to be completely independent of
how all the movies are being stored. So all the method does is refer
to a finder, and all that finder does is know how to respond to the
findAll
method.
If you want to change selection, open document below and click on "Move attachment"
Unknown title this article. The real point of this article is this finder object, or particularly how we connect the lister object with a particular finder object. The reason why this is interesting is that <span>I want my wonderful moviesDirectedBy method to be completely independent of how all the movies are being stored. So all the method does is refer to a finder, and all that finder does is know how to respond to the findAll method. I can bring this out by defining an interface for the finder. public interface MovieFinder { List findAll(); } Now all of this is very well decoupled, but at some point I have to come u Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details