Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here is a simple classic example of the Adapter pattern where it solves an incompatible interface.

Scenario:

  • The client expects a Printer interface.
  • We have a LegacyPrinter that has a different (older) method.
  • A PrinterAdapter makes them work together.

About

Quick Java demo of the adapter pattern

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages