Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Java Design Patterns: Behavioral Part 1

via LinkedIn Learning

Overview

Prepare for a new career with $100 off Coursera Plus
Gear up for jobs in high-demand fields: data analytics, digital marketing, and more.
Use six of the most popular behavioral design patterns—Chain of Responsibility, Command, Interpreter, Iterator, Mediator, and Memento—to write better, more maintainable Java code.

Syllabus

Introduction
  • Improve code quality with behavioral design patterns
  • What you should know
1. Behavioral Design Patterns
  • What is a design pattern?
  • Behavioral design patterns
2. The Chain of Responsibility Pattern
  • Understanding the Chain of Responsibility pattern
  • Implementing a successor chain
  • Making a request
  • Challenge: The Chain of Responsibility pattern
  • Solution: The Chain of Responsibility pattern
3. The Command Pattern
  • Understanding the Command pattern
  • Creating the components for a Command pattern
  • Implementing a complete Command pattern
  • Challenge: The Command pattern
  • Solution: The Command pattern
4. The Interpreter Pattern
  • Understanding the Interpreter pattern
  • Creating an interpreter for a language
  • Interpreting a variable
  • Challenge: The Interpreter pattern
  • Solution: The Interpreter pattern
5. The Iterator Pattern
  • Understanding the Iterator pattern
  • Creating an iterable
  • Creating an iterator
  • Challenge: The Iterator pattern
  • Solution: The Iterator pattern
6. The Mediator Pattern
  • Understanding the Mediator pattern
  • Avoiding tight coupling between objects
  • Creating a mediator object
  • Challenge: The Mediator pattern
  • Solution: The Mediator pattern
7. The Memento Pattern
  • Understanding the Memento pattern
  • Restoring an object's state
  • Challenge: The Memento pattern
  • Solution: The Memento pattern
Conclusion
  • Next steps

Taught by

Bethan Palmer

Reviews

Start your review of Java Design Patterns: Behavioral Part 1

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.