CHAPTER 13 CASE STUDY

A LIBRARY APPLICATION (OBJECTS)

The library application first appeared in Chapter 6. In that chapter, we showed how combining Lists and Maps could produce complex data structures that can be used to manage the bookkeeping required by a library. The data maintained in these collections were simple strings. We revisited the application again in Chapter 11 and this time we included some procedural code that enhanced the capabilities of our system. For example, methods were provided to find those books that had been issued to a borrower and to record loans to a borrower.

This case study is applied to the same problem domain using the object-oriented concepts introduced in Chapter 12. Rather than have simple strings for the ...

Get Groovy Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.