O'Reilly logo

Java™ Design Patterns: A Tutorial by James W. Cooper

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

Part 4. Behavioral Patterns

Behavioral patterns are those patterns that are most specifically concerned with communication between objects. This chapter covers the following patterns:

  • Chain of Responsibility pattern. allows decoupling between objects by passing a request from one object to the next in a chain until the request is recognized.

  • Command pattern. utilizes simple objects to represent the execution of software commands and allows you to support logging and undoable operations.

  • Interpreter pattern. provides a definition of how to include language elements in a program.

  • Iterator pattern. formalizes the way we move through a list of data within a class.

  • Mediator pattern. defines how communication between objects can be simplified by using a ...

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