O'Reilly logo

Groovy Programming by John Savage, Kenneth Barclay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required