Improved the adapter pattern example. Updated the class diagram.
This commit is contained in:
@@ -2,9 +2,9 @@ package com.iluwatar;
|
||||
|
||||
/**
|
||||
*
|
||||
* Adapter class. Adapts the interface of the
|
||||
* GoblinGlider into Engineer expected by the
|
||||
* client.
|
||||
* Adapter class. Adapts the interface of the device
|
||||
* (GoblinGlider) into Engineer interface expected
|
||||
* by the client (GnomeEngineeringManager).
|
||||
*
|
||||
*/
|
||||
public class GnomeEngineer implements Engineer {
|
||||
|
Reference in New Issue
Block a user